operator== missing on std::__debug::map<>::iterator

Pedro Larroy pedro.larroy.lists@gmail.com
Mon Dec 10 13:00:00 GMT 2012


Hi

I'm trying to compile with -D_GLIBCXX_DEBUG  and I get an error which
doesn't happen without the previous macro

There's an implementation of iterator inheriting privately from
std::__debug::map<......>::iterator and calling for operator==
operator== in the 'std::__debug::map<......>::iterator

I get the following error:

error: 'operator==' is not a member of 'std::__debug::map<......>::iterator


Is operator== missing intentionally from the iterator class?

Regards.

Pedro.



More information about the Libstdc++ mailing list