I’m working on a C++ application which uses some elements of ROS2 (Foxy). So far I’ve been working without issue in a mix of C++17 & C++20, compiling with g++9. I recently tried switching to g++10, to make use of some additional C++20 features, which resulted in some 2000 compilation errors from the ROS2 headers I was using.
As far as I can tell, they mostly boil down to the error:
no class template named ‘rebind’ in ‘class std::allocator’
…which I understand was deprecated in C++20, discussed e.g. here in a ROS 1 context: https://github.com/ros/gencpp/pull/51
There may be other issues too - I certainly haven’t done a deep dive here!
I was just wondering if there are any current plans for C++20 support in ROS2?