tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
extent.hpp File Reference

Go to the source code of this file.

Classes

struct  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. More...
 
struct  extent< T[], 0 >
 
struct  extent< T[], N >
 
struct  extent< T[I], 0 >
 
struct  extent< T[I], N >
 

Namespaces

namespace  etl
 

Variables

template<typename T, unsigned N = 0>
constexpr auto extent_v = static_cast<size_t>(extent<T, N>::value)