r/cpp • • Feb 18 '20

C++20 is here!

https://youtu.be/AvPiGstxV_g
420 Upvotes

117 comments sorted by

View all comments

21

u/[deleted] Feb 18 '20 edited Feb 18 '20

I think concepts will clean up a lot of atrocious sfinae boilerplate, can't wait to use them in production.

Just a question for the people that took part in the decision process: Stepanov concepts are camel case. Why switch all of std concepts to snake case? They could end up being visually confusing imo.

20

u/foonathan Feb 18 '20

This is the proposal that changed them, it has the rationale: https://wg21.link/p1754r1

5

u/[deleted] Feb 18 '20

Thank you for the pointer!

Not really convinced of the motivations tho, happy to have concepts anyway.

7

u/MartY212 Feb 19 '20

Which part is not convincing? I personally agree with the author.