boost::pfr::structure_to_tuple — Creates a std::tuple from fields of an simple aggregate val.
std::tuple
val
// In header: <boost/pfr/core.hpp> template<typename T> ( val);
Example: