Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tobz1000
on Aug 4, 2020
|
parent
|
context
|
favorite
| on:
Syntax changes from C++11 to C++20
I'm only mildly familiar with C++, but the support for template arguments in lambdas looks like an analogue for generic closures, which are absent from Rust, but would be really handy at times.
gpderetta
on Aug 4, 2020
[–]
Note that C++ has had generic closures since C++14, with auto parameters. Template arguments are just a refinement for that.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: