Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rightbyte
on Aug 4, 2020
|
parent
|
context
|
favorite
| on:
Syntax changes from C++11 to C++20
Now that we know lambdas they are fine, but to answer the question "why is there a book" in the beginning of the thread, it is more or less because it is not as obvious as gcc's c extension.
CyberDildonics
on Aug 4, 2020
[–]
What is so cryptic that there needs to be a separate syntax change?
auto triple = [](auto x){ return 3 * x; };
rightbyte
on Aug 5, 2020
|
parent
[–]
Ye well nothing when we have already are to lambdas.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: