Things C++ 20 Deliberately Broke

jmh530 john.michael.hall at gmail.com
Mon Sep 26 12:41:07 UTC 2022


On Monday, 26 September 2022 at 08:32:27 UTC, Siarhei Siamashka 
wrote:
> [snip]
> C++ and D are actually radically different. Older versions of 
> the C++
> standard are still supported via the '-std=c++98' or 
> '-std=c++17' option
> in GCC (or its equivalent in the other C++ compilers). And C++ 
> is not
> unique. For example, Rust also supports different language 
> editions.
> If Python developers decided to keep both Python2 and Python3
> maintained forever, then it would be similar to C++ and Rust.
>
> D doesn't offer anything like this right now.
> [snip]

D has preview/revert switches for some individual behaviors 
(though to my knowledge, not all deprecations have this). What it 
doesn't have is a way to combine several of these together based 
on an individual year/period and automation to switch to a newer 
edition. Rust has some good tooling for that.


More information about the Digitalmars-d mailing list