>Already since C++20
...Or phrased another way, they finally added them in the latest spec (which the majority of C++ devs aren't even using yet)
...Or phrased another way, they finally added them in the latest spec (which the majority of C++ devs aren't even using yet)
https://isocpp.org/std/the-standard
https://www.iso.org/standard/79358.html
https://github.com/cplusplus/draft/blob/main/papers/n4951.md
And quite frankly, what matters to devs is what tooling supports the specification without special configuration, and the answer is "basically none". Not a single compiler fully supports it.
https://en.cppreference.com/w/cpp/compiler_support/23
Also, side note, I'd be surprised if more than a third of C++ devs were even using C++20, based on last year's numbers showing only ~25% adoption: