Closed AiVerisimilitude closed 1 year ago
Pulls: ros2/rcl_interfaces#160 Gist: https://gist.githubusercontent.com/emersonknapp/6ab2676a70aa501a0b3552307225ea4a/raw/14ace01d250059eeeb7b99d44733a3f92a53040e/ros2.repos BUILD args: --packages-above-and-dependencies test_msgs TEST args: --packages-above test_msgs ROS Distro: rolling Job: ci_launcher ci_launcher ran: https://ci.ros2.org/job/ci_launcher/12609
pre C++20 the literal u8"Hello World" was of type const char[N] however post C++20 it becomes const char8_t[N] which throws a compile error when trying to assign it to a std::string type.
To continue to allow for this, I introduce a layer of indirection so that the code can still be compiled in C++17.