ROS and C++11
Is C++11 currently supported by ROS? If not is this support planned for the near future?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is C++11 currently supported by ROS? If not is this support planned for the near future?
According to REP 3:
"We use the C++03 (ISO/IEC 14882:2003) standard, and are compiler-agnostic. While we mainly develop with gcc, no use of compiler-specific features is allowed without proper use of macros to allow use on other platforms.
Use of C++[0|1]x or tr1 features are only allowed if support for that feature is checked at compile time, and equivalent functionality exists without requiring C++[0|1]x code. A wholesale jump to C++[0|1]x will not happen until all commonly used OS platforms fully support it."
Distributions up to Jade use C++03, but Kinetic uses C++11. http://www.ros.org/reps/rep-0003.html
Asked: 2011-12-05 09:24:33 -0500
Seen: 2,093 times
Last updated: Dec 05 '11
API to know whether node is active or not
How to create ROS2 library with dependence installed with CMake FetchContent?
[ROS2] symbol lookup error and undefined symbol while using image transport cpp
Are there macros which define the ROS version?
rviz orbit viewcontroller lookat function
How to get versions in package.xml from roscpp codes