Blaze  3.6
blaze::IsSIMDCombinable< T1, T2, Ts > Struct Template Reference

Compile time check for data types.This type trait tests whether or not the given types can be combined in the context of SIMD operations. By default, all numeric data types are considered combinable to themselves. Also, different integral types of the same size can be combined. If the types are determined to be SIMD combinable, 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. More...

#include <IsSIMDCombinable.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<typename T1, typename T2, typename... Ts>
struct blaze::IsSIMDCombinable< T1, T2, Ts >

Compile time check for data types.

This type trait tests whether or not the given types can be combined in the context of SIMD operations. By default, all numeric data types are considered combinable to themselves. Also, different integral types of the same size can be combined. If the types are determined to be SIMD combinable, 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::IsSIMDCombinable< complex<float>, complex<float> > // Is derived from TrueType
blaze::IsSIMDCombinable< complex<int>, complex<float> > // Is derived from FalseType

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