[Bug c++/54526] [C++11] <:: is incorrectly treated as digraph <: followed by colon

richard-gccbugzilla at metafoo dot co.uk gcc-bugzilla@gcc.gnu.org
Sun Oct 28 05:21:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54526

--- Comment #4 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> 2012-10-28 05:21:40 UTC ---
The fix does not appear to be correct. C++11 changed the lexing rules, not the
parsing rules for template argument lists. For instance, this is valid in
C++11:

int a;
bool b = 0<::a;



More information about the Gcc-bugs mailing list