Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Global tuple_size_v

boost::pfr::tuple_size_v

Synopsis

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

 tuple_size_v;

Description

tuple_size_v is a template variable that contains fields count in a T and works for any T that satisfies simple aggregate .

Example:


PrevUpHomeNext