Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Type definition tuple_element

tuple_element — tuple_element has a member typedef type that returns the type of a field with index I in simple aggregate T.

Synopsis

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


template<std::size_t I, typename T> 
using tuple_element = unspecified;

Description

Example:

std::vector< boost::pfr::tuple_element<0, my_structure>::type > v;


PrevUpHomeNext