Function rosidl_typesupport_fastrtps_c::wstring_to_u16string
Defined in File wstring_conversion.hpp
Function Documentation
-
bool rosidl_typesupport_fastrtps_c::wstring_to_u16string(const std::wstring &wstr, rosidl_runtime_c__U16String &u16str)
Convert a std::wstring into a
rosidl_runtime_c__U16String
.- Parameters:
wstr – [in] The std::wstring to copy from.
u16str – [inout] The u16string to copy to.
- Returns:
true if resizing u16str and assignment succeeded, otherwise false.