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

Compile time check for single precision complex types. More...

#include <IsComplexFloat.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for single precision complex types.

This type trait tests whether or not the given template parameter is of type complex<float>. In case the type is complex<float> (ignoring the cv-qualifiers), 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::IsComplexFloat< complex<float> >::value // Evaluates to 'true'
blaze::IsComplexFloat< const complex<float> >::Type // Results in TrueType
blaze::IsComplexFloat< const complex<double> >::Type // Results in FalseType
Compile time check for single precision complex types.
Definition: IsComplexFloat.h:77

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