blaze::HasErfc< T, typename > Struct Template Reference

Availability of the erfc() operation for the given data types.This type trait provides the information whether the erfc() operation exists for the given data type T (taking the cv-qualifiers into account). In case the operation is available, 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 <HasErfc.h>

Inherits HasErfcHelper< T >.

Detailed Description

template<typename T, typename = void>
struct blaze::HasErfc< T, typename >

Availability of the erfc() operation for the given data types.

This type trait provides the information whether the erfc() operation exists for the given data type T (taking the cv-qualifiers into account). In case the operation is available, 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.

struct NoErfc {}; // Definition of a type without the erfc() operation
blaze::HasErfc< DynamicVector<float> >::Type // Results in TrueType
blaze::HasErfc< DynamicMatrix<double> > // Is derived from TrueType
blaze::HasErfc< NoErfc >::Type // Results in FalseType
blaze::HasErfc< NoErfc > // Is derived from FalseType

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