https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121598
TC <rs2740 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs2740 at gmail dot com --- Comment #1 from TC <rs2740 at gmail dot com> --- Equality for iterators is only defined for iterators over the same sequence though. I suppose you can compare &* if the reference type is a reference and you have derefenceable iterator?