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 2025. The current version is 1.91.0.
boost::pfr::names_as_array — Creates a std::array from names of fields of an simple aggregate T.
// In header: <boost/pfr/core_name.hpp> template<typename T> std::array< std::string_view, boost::pfr::tuple_size_v< T > > names_as_array();