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

Compile time logical 'and' evaluation.The And alias declaration performs at compile time a logical 'and' ('&&') evaluation of at least two compile time conditions: More...

#include <And.h>

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

Detailed Description

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

Compile time logical 'and' evaluation.

The And alias declaration performs at compile time a logical 'and' ('&&') evaluation of at least two compile time conditions:

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

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