blaze::Extent< T, N > Struct Template Reference

Compile time check for the size of array bounds.Via this type trait it is possible to query at compile time for the size of a particular array extent. In case the given template argument is an array type with a rank greater than N, the value member enumeration is set to the number of elements of the N'th array dimension. In all other cases, and especially in case the N'th array dimension is incomplete, value is set to 0. More...

#include <Extent.h>

Detailed Description

template<typename T, unsigned int N>
struct blaze::Extent< T, N >

Compile time check for the size of array bounds.

Via this type trait it is possible to query at compile time for the size of a particular array extent. In case the given template argument is an array type with a rank greater than N, the value member enumeration is set to the number of elements of the N'th array dimension. In all other cases, and especially in case the N'th array dimension is incomplete, value is set to 0.

blaze::Extent< std::vector<int>, 0 >::value // Evaluates to 0 (std::vector is NOT an array type)

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