Blaze 3.9
blaze::HasInvCbrt< T, typename > Struct Template Reference

Availability of the invcbrt() operation for the given data types. More...

#include <HasInvCbrt.h>

Inherits HasInvCbrtHelper< T >.

Detailed Description

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

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

This type trait provides the information whether the invcbrt() 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 NoInvCbrt {}; // Definition of a type without the invcbrt() operation
blaze::HasInvCbrt< DynamicVector<float> >::Type // Results in TrueType
blaze::HasInvCbrt< DynamicMatrix<double> > // Is derived from TrueType
blaze::HasInvCbrt< NoInvCbrt >::Type // Results in FalseType
blaze::HasInvCbrt< NoInvCbrt > // Is derived from FalseType
Availability of the invcbrt() operation for the given data types.
Definition: HasInvCbrt.h:110

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