Well, crikey. I guess that's it with having LR(1) grammar. Templates are not actually parseable with 1 token lookahead. a<b, c> Or a < b Meh. ;(
-
Show this thread
Replying to @ArvidGerstmann
Consider `foo(a<b,c>(d))`. Does foo() have one argument here or two? No amount of lookahead can help you here. C++ just isn't a context free language.
8:10 PM - 2 Apr 2019
0 replies
0 retweets
9 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.