moveit2
The MoveIt Motion Planning Framework for ROS 2.
lexical_casts.h File Reference

locale-agnostic conversion functions from floating point numbers to strings More...

#include <moveit/utils/lexical_casts.hpp>
Include dependency graph for lexical_casts.h:

Go to the source code of this file.

Detailed Description

locale-agnostic conversion functions from floating point numbers to strings

Depending on the system locale, a different decimal separator might be used for floating point numbers. This is often not wanted for internal (ie non-user facing) purposes. This module provides conversion functions that use std::locale::classic() (i.e. the default if no locale is set on the system).

Definition in file lexical_casts.h.