Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::rank< T > Class Template Reference

obtains the number of dimensions of an array type More...

Inheritance diagram for std::rank< T >:
Inheritance graph

Additional Inherited Members

- Public Types inherited from std::integral_constant< size_t, rank_v< T > >
using type
 The type of this class.
 
using value_type
 The type of the value.
 
- Public Member Functions inherited from std::integral_constant< size_t, rank_v< T > >
constexpr operator value_type () const noexcept
 Implicit conversion to Type.
 
constexpr auto operator() () const noexcept -> value_type
 Nullary function call operator.
 
- Static Public Attributes inherited from std::integral_constant< size_t, rank_v< T > >
static constexpr value_type value
 The constant.
 

Detailed Description

template<class T>
class std::rank< T >

obtains the number of dimensions of an array type

Template Parameters
Ttype to query

If T is an array type, provides the member constant value equal to the number of dimensions of the array. For any other type, value is 0.


The documentation for this class was generated from the following file: