This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]