Blaze 3.9
blaze::IsScalar< T > Struct Template Reference

Compile time check for scalar types. More...

#include <IsScalar.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for scalar types.

This type trait tests whether or not the given template parameter is scalar type (i.e. neither a vector, nor a matrix, proxy, SIMD pack, reference or pointer type). In case the type is a scalar type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.

blaze::IsScalar< volatile complex<float> > // Is derived from TrueType
blaze::IsScalar< const DynamicMatrix<double> >::Type // Results in FalseType
Compile time check for scalar types.
Definition: IsScalar.h:86

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