Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit e60898da42.
PrevUpHomeNext

Type definition tuple_size

tuple_size

Synopsis

// In header: <boost/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, boost::pfr::tuple_size<my_structure>::value > a;


PrevUpHomeNext