not really C++20
not really C++20
Posted May 1, 2026 11:10 UTC (Fri) by jamesh (guest, #1159)In reply to: not really C++20 by rolexhamster
Parent article: GCC 16.1 released
One possible outcome with something like this is that the feature becomes optional in a future version of the language. This happened with C99 variable-length arrays, which became optional in C11.
C++ modules seem like they would be a lot easier to implement if the language had a standard build system (like Rust has with Cargo, or Go has with it's "go" tool chain frontend). It's not the kind of thing you can easily implement in just the compiler. And to add support to a build system you need to know how the specific compiler you're using expects this all to work.
