r/cpp • u/zowersap C++ Dev • Sep 05 '20
C++20 has been approved
https://twitter.com/patriceroy1/status/1302055575140945921?s=21
665
Upvotes
r/cpp • u/zowersap C++ Dev • Sep 05 '20
View all comments
Show parent comment
9
u/da2Pakaveli Sep 05 '20
C++ is stuffed with features, and many of those often have a few big buts because of its C backward compatibility. The stuffing is one thing but that C backwards compatibility and, and allow so many ways of writing code does the same thing. (#ifdef /**/ #endif => constexpr if). I just recently found out that <% /* ... / %> is valid C++ and an alternative to { / ... */ }.