cmoon::meta::type_list<Types...>::size
|
(1) |
Returns the number of types in the list.
Parameters
(none)
Return value
The number of types in the list.
Exceptions
This function never throws exceptions
Complexity
Constant.
Example
import cmoon.meta;
int main()
{
using tl = cmoon::meta::type_list<int, float, char, int>;
static_assert(tl::size() == 4);
}