blaze::IsNumericVector< T > Struct Template Reference

Compile time check for numeric vector types.This type trait tests whether or not the given template parameter is a numeric vector type, i.e. a vector with numeric element type. In case the type is a numeric vector type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise yes is set to false, Type is FalseType, and the class derives from FalseType. More...

#include <IsNumericVector.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<typename T>
struct blaze::IsNumericVector< T >

Compile time check for numeric vector types.

This type trait tests whether or not the given template parameter is a numeric vector type, i.e. a vector with numeric element type. In case the type is a numeric vector type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise yes is set to false, Type is FalseType, and the class derives from FalseType.

typedef DynamicVector<int> Type1;
typedef StaticVector<float,3UL> Type2;
typedef HybridVector< complex<double> > Type3;
typedef double Type4;
typedef DynamicMatrix<int> Type5;
typedef DynamicVector< DynamicVector<int> > Type6;
blaze::IsNumericVector< Type3 > // Is derived from TrueType
blaze::IsNumericVector< Type6 > // Is derived from FalseType

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