3 ms·
That can be solved relatively simply with lookahead, can't it?
by fao_ 11y ago
That can be solved relatively simply with lookahead, can't it?
- nly 11y agoNope, because you can have arbitrary constant expressions within template instantiations. foo<bar<1> could be interpreted as "foo<(bar < 1)>" or "foo < bar<1>" It's undecidable without symbol lookup.