boost::pfr::structure_tie — std::tie` like function that ties fields of a structure.
// In header: <boost/pfr/core.hpp> template<typename T> ( val);
Example:
Returns:
a std::tuple with lvalue and const lvalue references to fields of an simple aggregate val.
std::tuple
val