This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54526] [C++11] <:: is incorrectly treated as digraph <: followed by colon
- From: "richard-gccbugzilla at metafoo dot co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Oct 2012 05:21:40 +0000
- Subject: [Bug c++/54526] [C++11] <:: is incorrectly treated as digraph <: followed by colon
- Auto-submitted: auto-generated
- References: <bug-54526-4@http.gcc.gnu.org/bugzilla/>
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;