blaze::Bool< C > Struct Template Reference

Compile time integral constant wrapper for bool.The Bool class template represents an integral wrapper for a compile time constant expression of type bool. The value of a Bool can be accessed via the nested value (which is guaranteed to be of type bool), the type can be accessed via the nested type definition ValueType. More...

#include <Bool.h>

Inherited by blaze::Greater< T1, T2 >.

Detailed Description

template<bool C>
struct blaze::Bool< C >

Compile time integral constant wrapper for bool.

The Bool class template represents an integral wrapper for a compile time constant expression of type bool. The value of a Bool can be accessed via the nested value (which is guaranteed to be of type bool), the type can be accessed via the nested type definition ValueType.

using namespace blaze;
Bool<true>::value // Evaluates to true
Bool<false>::ValueType // Results in bool

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