tuple_size
// In header: <boost/pfr/tuple_size.hpp> typedef ;
Has a static const member variable value that contains fields count in a T. Works for any T that satisfies simple aggregate .
value
Example: