blaze::Xnor< T1, T2 > Struct Template Reference

Compile time logical 'not xor' evaluation.The Xor alias declaration performs at compile time a logical 'not xor' evaluation of the two given compile time conditions: More...

#include <Xnor.h>

Inherits blaze::Bool< !(T1::value ^ T2::value) >.

Detailed Description

template<typename T1, typename T2>
struct blaze::Xnor< T1, T2 >

Compile time logical 'not xor' evaluation.

The Xor alias declaration performs at compile time a logical 'not xor' evaluation of the two given compile time conditions:

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

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