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

The major user visible features of C++14 were polymorphic lambdas, generalized lambda capture, proper constexpr, member initializers and return type deduction. I use most of these everyday.

For C++17 the biggest features are structured binding, which is the first step toward pattern matching, and deduction of template parameters for class types.

Other features like fold expressions are realy meant for library writers.

The standard library did get variant and optional whixh arw pretty cool.




Oh how I envy your use of C++14 every day. Here we are still trying to migrate off VC2008 and C++2003.

Variant and optional would be really useful if only I could use them. One day, one day...

(ps doesn't stop me writing using these new features at home on other projects)


The lack of generalized lambda capture was one of the biggest idiosyncrasies of C++11, given its focus on move semantics.


Even in with the last draft it still not possible to easily move-capture a variadic parameter pack; it is a fairly esoteric feature and there are workarounds, but it is still annoying.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: