[re.regiter.comp] (original) (raw)
28 Text processing library [text]
28.6 Regular expressions library [re]
28.6.11 Regular expression iterators [re.iter]
28.6.11.1 Class template regex_iterator [re.regiter]
28.6.11.1.3 Comparisons [re.regiter.comp]
bool operator==(const regex_iterator& right) const;
Returns: true if *this and right are both end-of-sequence iterators or if the following conditions all hold:
- begin == right.begin,
- end == right.end,
- pregex == right.pregex,
- flags == right.flags, and
- match[0] == right.match[0];
otherwise false.