Hacker News new | past | comments | ask | show | jobs | submit login

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.



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: