blaze::Or< T1, T2, Ts > Struct Template Reference

Compile time logical or evaluation.The Or class template performs at compile time a logical or ('&&') evaluation of at least two compile time conditions: More...

#include <Or.h>

Inherits blaze::Bool< OrHelper< T1, T2, Ts... >::value >.

Detailed Description

template<typename T1, typename T2, typename... Ts>
struct blaze::Or< T1, T2, Ts >

Compile time logical or evaluation.

The Or class template performs at compile time a logical or ('&&') evaluation of at least two compile time conditions:

using namespace blaze;
typedef int Type;
Or< IsIntegral<Type>, IsSigned<Type> >::value // Evaluates to 1
Or< IsIntegral<Type>, IsFloatingPoint<Type> >::value // Evaluates to 1
Or< IsFloat<Type> , IsDouble<Type> >::value // Evaluates to 0

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