tuple_element_t — Type of a field with index I in simple aggregate T.
I
T
// In header: <boost/pfr/core.hpp> template<std::size_t I, typename T> using tuple_element_t = typename tuple_element< I, T >::type;
Example:
std::vector< boost::pfr::tuple_element_t<0, my_structure> > v;