...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::pfr::get_name — Returns name of a field with index I
in simple aggregate T
.
// In header: <boost/pfr/core_name.hpp> template<std::size_t I, typename T> constexpr std::string_view get_name();