class template
std::rank
- Header
<type_traits>- Scope
std- cppreference
- std::rank
Synopsis
template<class T>
struct rank
: integral_constant<size_t, array_rank(T)>Member types
| Name | Declaration |
|---|---|
typetype alias · member type | = integral_constant |
value_typetype alias · member type | = T |
Member functions
| Name | Declaration |
|---|---|
operator()operator | value_type operator()() const |
operator value_typeconversion function | operator value_type() const |
Static data members
| Name | Declaration |
|---|---|
valuestatic data member | T |