tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
rank< T > Struct Template Reference

If Type 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 behavior of a program that adds specializations for rank or rank_v is undefined. More...

#include <rank.hpp>

Inheritance diagram for rank< T >:
integral_constant< size_t, 0 >

Additional Inherited Members

- Public Types inherited from integral_constant< size_t, 0 >
using type
 
using value_type
 
- Public Member Functions inherited from integral_constant< size_t, 0 >
constexpr operator value_type () const noexcept
 
constexpr auto operator() () const noexcept -> value_type
 
- Static Public Attributes inherited from integral_constant< size_t, 0 >
static constexpr size_t value
 

Detailed Description

template<typename T>
struct etl::rank< T >

If Type 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 behavior of a program that adds specializations for rank or rank_v is undefined.


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