News for hackers. Stuff that matters.
Re:Parsing C++ is literally undecidable (2013) by fusilli_jerry on Friday October 04, 2019 @02:58PM (#21160793)
This is still not ambiguous: in order for 'foo::a' to be a template, 'a' must be prefixed with the 'template' disambiguator keyword, and in fact for any of a, b, or c to be types at all they would have to be prefixed with 'typename'. As written, it must parse as two expressions; if 'foo::a' turns out to be a class template at instantiation time, it's an error.

There are no comments on this comment yet.