http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57808
Bug ID: 57808 Summary: operators == and != for regex_token_iterator need to be const Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: chasonr at newsguy dot com In libstdc++-v3/include/bits/regex.h, the methods operator== and operator!= for regex_token_iterator are not declared const. This is not consistent with the C++11 standard, section 28.12.2, which specifies these operators to be declared const.