35 #ifndef _BLAZE_UTIL_TYPETRAITS_EXTENT_H_ 36 #define _BLAZE_UTIL_TYPETRAITS_EXTENT_H_ 76 template<
typename T,
size_t N >
85 template<
typename T,
size_t N >
96 template<
typename T,
size_t N,
size_t E >
99 :
public IntegralConstant<size_t,Extent<T,N-1UL>::value>
107 template<
typename T >
109 struct Extent<T[],0UL>
110 :
public IntegralConstant<size_t,0UL>
118 template<
typename T,
size_t E >
120 struct Extent<T[E],0UL>
121 :
public IntegralConstant<size_t,E>
140 template<
typename T,
size_t N >
Header file for basic type definitions.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time check for the size of array bounds.Via this type trait it is possible to query at compil...
Definition: Extent.h:77
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr size_t Extent_v
Auxiliary variable template for the Extent type trait.The Extent_v variable template provides a conve...
Definition: Extent.h:141
Header file for the IntegralConstant class template.