...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::structure_to_tuple — Creates a std::tuple
from fields of an simple aggregate val
.
// In header: <boost/pfr/core.hpp> template<typename T> constexpr auto structure_to_tuple(const T & val);