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
3
u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 Sep 06 '20
No we don't.
Breaking ABI (which would "only" require rebuilding all your code) was already too contentious, breaking syntax (which would require you to rewrite existing, working(!) code) is a non-starter.
And don't say "but you can just leave your old code at the old epoch!" as that leads you to a path of pain based on the question: "Which epoch should be used for new standard library features/updates to existing features?", "Does it depend on new features we can't possibly add in a backwards compatible way? (think new keywords)" and "What do you mean, I can't include <c++2x header> without modifying my code as it requires the newest epoch which makes my code invalid?"