xieite ::arity <>
Defined in header <xieite/meta/arity.hpp>
Finds the arity of a tuple-like or aggregate type.
Declaration
template <typename T >constexpr std ::size_t arity =/* ... */ ;
Example
[View in Compiler Explorer]struct S {int a ;int x [2 ];int b ;int y [5 ];int c ; };static_assert (xieite ::arity <S > ==5 );int main () {}