Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Type definition tuple_size

tuple_size

Synopsis

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


typedef unspecified tuple_size;

Description

Has a static const member variable value that contains fields count in a T. Works for any T that satisfies simple aggregate .

Example:

std::array<int, pfr::tuple_size<my_structure>::value > a;


PrevUpHomeNext