28 Text processing library [text]

28.6 Regular expressions library [re]

28.6.11 Regular expression iterators [re.iter]

28.6.11.2 Class template regex_token_iterator [re.tokiter]

28.6.11.2.3 Comparisons [re.tokiter.comp]

bool operator==(const regex_token_iterator& right) const;
Returns: true if *this and right are both end-of-sequence iterators, or if *this and right are both suffix iterators and suffix == right.suffix; otherwise returns false if *this or right is an end-of-sequence iterator or a suffix iterator.
Otherwise returns true if position == right.position, N == right.N, and subs == right.subs.
Otherwise returns false.