| In-line class static variables ... finally. if constexpr is neat (along with a bunch of the other constexpr/compile-time features that have been coming along), but I feel like this will have both... good and bad uses, and I fear for the astronauts who will go crazy with this. The enhanced conditionals, this I kind of like though it would take some while to get used to... kind of surprised this got in, being such a departure from C. Small thing: hardware_destructive_interference_size is nice. Wish I had this in Rust. Looks like it was asked for (https://github.com/rust-lang/rfcs/issues/1756) but went nowhere. |
While completely gratuitous incompatibilities with C are not welcome, C compatibility in general was abandoned in new features long ago (consider range based `for` or the venerable `nullptr`).