SlHelpers
SlPCRE2::MatchIterator Struct Reference

Iterator over matches. More...

#include <PCRE2.h>

Public Member Functions

auto operator* () const noexcept
 Obtain the current match.
 
MatchIteratoroperator++ () noexcept
 Move to the next match.
 
MatchIteratoroperator-- () noexcept
 Move to the previous match.
 
MatchIterator operator++ (int) noexcept
 Move to the next match.
 
MatchIterator operator-- (int) noexcept
 Move to the previous match.
 
auto operator== (const MatchIterator &other) const noexcept
 Compare two MatchIterators.
 
auto operator!= (const MatchIterator &other) const noexcept
 Compare two MatchIterators.
 
auto index () const noexcept
 Get current index of the match. More...
 

Friends

struct Matches
 
class PCRE2
 

Detailed Description

Iterator over matches.

Member Function Documentation

◆ index()

auto SlPCRE2::MatchIterator::index ( ) const
inlinenoexcept

Get current index of the match.

Returns
Index of the match.

The documentation for this struct was generated from the following file: