Blaze  3.6
blaze::IsComplexDouble< T > Struct Template Reference

Compile time check for single precision complex types.This type trait tests whether or not the given template parameter is of type complex<double>. In case the type is complex<double> (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. More...

#include <IsComplexDouble.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for single precision complex types.

This type trait tests whether or not the given template parameter is of type complex<double>. In case the type is complex<double> (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::IsComplexDouble< complex<double> >::value // Evaluates to 'true'
blaze::IsComplexDouble< const complex<double> >::Type // Results in TrueType
blaze::IsComplexDouble< const complex<float> >::Type // Results in FalseType

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