Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.90.0.
boost::log::trivial::to_string — Returns stringized enumeration value or NULL, if the value is not valid.
// In header: <boost/log/trivial.hpp> template<typename CharT> const CharT * to_string(severity_level lvl);