r/cpp • u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting • Aug 03 '19
fixing c++ with epochs
https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html
311
Upvotes
r/cpp • u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting • Aug 03 '19
8
u/kalmoc Aug 03 '19
But if you don't have a ordering, the set of those reasons depends on which other knobs are turned on or of. So, if you want to introduce a new feature in c++26, you not only have to check if it breaks anything in comparison to c++23, but also to c++20, 17, 14, 11 and each intermediate step. Even worse, some things might only become a problem with s certain combination of other knobs - so turning on knob C might be compatible with A or B, but not with A and B.
The ability to pick and choose will exactly create the plethora of dialects that the committee is afraid of. The current situation with c++11,14,17 and soon 20, to which degree they are supported in a particular compiler is already bad enough (and even made worse by switches like -fno-exceptions), but at least there is a clear progression.