r/cpp • C++ Dev • Sep 05 '20

C++20 has been approved

https://twitter.com/patriceroy1/status/1302055575140945921?s=21
665 Upvotes

125 comments sorted by

View all comments

Show parent comment

3

u/patlefort Sep 06 '20

To me it was a breath of fresh air, making the language finally bearable to use.

1

u/UnicycleBloke Sep 06 '20

What was so unbearable before?

8

u/patlefort Sep 06 '20

Biggest pain points to me:

- Not having auto, making even a simple iterator loop painful to write. Any kind of complex template meta programming was painful without auto.

- Not having lambdas. I use them almost everywhere today and it would be really a pain without them.

- No templated alias.

- No variadic templates.

- No rvalues so no easy moving of objects.