tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
extent< T, N > Struct Template Reference

If T is an array type, provides the member constant value equal to the number of elements along the Nth dimension of the array, if N is in [0, rank_v<T>). For any other type, or if T is an array of unknown bound along its first dimension and N is 0, value is 0. More...

#include <extent.hpp>

Inheritance diagram for extent< T, N >:
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, unsigned N = 0>
struct etl::extent< T, N >

If T is an array type, provides the member constant value equal to the number of elements along the Nth dimension of the array, if N is in [0, rank_v<T>). For any other type, or if T is an array of unknown bound along its first dimension and N is 0, value is 0.


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