Integral constant wrapper for boolean values. More...
#include <bool.hpp>
Public Types | |
typedef Bool< x > | type |
This wrapper's nullary metafunction (simply returns itself). | |
typedef bool | value_type |
The type this wrapper's value. | |
Public Member Functions | |
operator bool () const | |
Convenience conversion. | |
virtual | ~Bool () |
Static Public Attributes | |
static bool const | value = x |
The value for this integral constant wrapper. |
Integral constant wrapper for boolean values.
Provides an integral constant wrapper for boolean values (refer to C++ template metaprogramming by D.Abrahams p. 61 for details).
typedef bool ecl::Bool< x >::value_type |
ecl::Bool< x >::operator bool | ( | ) | const [inline] |