Function rclcpp::get_c_string(const std::string&)

Function Documentation

const char *rclcpp::get_c_string(const std::string &string_in)

Return the C string from the given std::string.

Parameters:

string_in[in] is a std::string

Returns:

the C string from the std::string