0
$\begingroup$

Rosanswers logo

Is C++11 currently supported by ROS? If not is this support planned for the near future?


Originally posted by Pablo Iñigo Blasco on ROS Answers with karma: 2982 on 2011-12-05

Post score: 8

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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."


Originally posted by Brian Gerkey with karma: 2916 on 2011-12-05

This answer was ACCEPTED on the original site

Post score: 9


Original comments

Comment by brice rebsamen on 2013-01-21:
is it still the case (13 months later)?

Comment by clyde on 2016-11-28:
Distributions up to Jade use C++03, but Kinetic uses C++11. http://www.ros.org/reps/rep-0003.html

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.