All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
blaze::RequiresEvaluation< T > Struct Template Reference

Compile time check to query the requirement to evaluate an expression.Via this type trait it is possible to determine whether a given vector or matrix expression type requires an intermediate evaluation in the context of a compound expression. In case the given type requires an evaluation, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType. More...

#include <RequiresEvaluation.h>

Inherits Type< T >.

Detailed Description

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

Compile time check to query the requirement to evaluate an expression.

Via this type trait it is possible to determine whether a given vector or matrix expression type requires an intermediate evaluation in the context of a compound expression. In case the given type requires an evaluation, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.

Note that this type trait can only be applied to Blaze vector or matrix expressions or any other type providing the nested type CompositeType. In case this nested type is not available, applying the type trait results in a compile time error!


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