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

Compile time logical 'or' evaluation.The Or alias declaration performs at compile time a logical 'or' ('||') evaluation of at least two compile time conditions: More...

#include <Or.h>

Inherits blaze::Bool< !IsSame< Bools< false, T1::value, T2::value,(Ts::value)... >, Bools< T1::value, T2::value,(Ts::value)..., false > >::value >.

Detailed Description

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

Compile time logical 'or' evaluation.

The Or alias declaration performs at compile time a logical 'or' ('||') evaluation of at least two compile time conditions:

using namespace blaze;
using Type = int;
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: