cpp/regex/regex token iterator/operator cmp

Checks whether and  are equivalent.

Two regex token iterators are equal if:

@a@ They are both end-of-sequence iterators

@b@ They are both suffix iterators and the suffixes are equal.

@c@ Neither of them is end-of-sequence or suffix iterator and:



@1@ Checks whether is equal to.

@2@ Checks whether is not equal to.

Return value
@1@ if  is equal to,  otherwise.

@2@ if  is not equal to,  otherwise.