Because the ISO C++20 standard is very recent, GCC’s support is experimental .”
very is doing some heavy lifting there. It is like saying, “Foxy is a very recent version of ROS 2”.
For maximum compatibility, why use C++ over C if compatibility is always more important than ergonomics and features of the language?
C++20 and C++23 are some of the most underwhelming releases of C++ compared to 11 and 17. Many blame COVID and the ISO process for being poorly designed for remote collaboration.
Concepts are excellent for library authors of templates. The brick operator and mdspan might have some interesting applications for the ergonomics of DSLs. PMR is probably the most relevant feature for robotics applications. Deducing this is a cool feature with many applications, go watch one of the Ben Dean talks on it. There are a few features that are not easily replicated without newer standards from 20 and 23.
5 Likes