Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Type definition tuple_element_t

tuple_element_t — Type of a field with index I in simple aggregate T.

Synopsis

// In header: <pfr/core.hpp>


typedef typename tuple_element< I, T >::type tuple_element_t;

Description

Example:

std::vector< pfr::tuple_element_t<0, my_structure> > v;


PrevUpHomeNext