Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rightbyte
on June 24, 2020
|
parent
|
context
|
favorite
| on:
Tiny C Compiler
I vaguely remember C++ template crocodiles being white space sensitive some time ago when templates were nested at variable declaration.
qalmakka
on June 24, 2020
[–]
Yes, the lexer considered >> as a single token, so you had to you write > >. The standard was changed in c++11 to allow the syntax; that definitely complicated parsing, but at least now heavily templated code looks a 100% less ugly.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: