bool operator==( const regex_token_iterator& other ) const; | (1) | (since C++11) |
bool operator!=( const regex_token_iterator& other ) const; | (2) | (since C++11) (until C++20) |
Checks whether *this and other are equivalent.
Two regex token iterators are equal if:
position == other.position N == other.N subs == other.subs *this is equal to other.*this is not equal to other.| The | (since C++20) |
| other | - | another regex token iterator to compare to |
true if *this is equal to other, false otherwise.true if *this is not equal to other, false otherwise.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/regex/regex_token_iterator/operator_cmp