Public Types | Public Member Functions | Static Public Attributes
ecl::Bool< x > Class Template Reference

Integral constant wrapper for boolean values. More...

#include <bool.hpp>

List of all members.

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.

Detailed Description

template<bool x>
class ecl::Bool< x >

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).

Definition at line 32 of file bool.hpp.


Member Typedef Documentation

template<bool x>
typedef Bool<x> ecl::Bool< x >::type

This wrapper's nullary metafunction (simply returns itself).

Definition at line 35 of file bool.hpp.

template<bool x>
typedef bool ecl::Bool< x >::value_type

The type this wrapper's value.

Definition at line 36 of file bool.hpp.


Constructor & Destructor Documentation

template<bool x>
virtual ecl::Bool< x >::~Bool ( ) [inline, virtual]

Definition at line 38 of file bool.hpp.


Member Function Documentation

template<bool x>
ecl::Bool< x >::operator bool ( ) const [inline]

Convenience conversion.

Definition at line 37 of file bool.hpp.


Member Data Documentation

template<bool x>
bool const ecl::Bool< x >::value = x [static]

The value for this integral constant wrapper.

Definition at line 34 of file bool.hpp.


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


ecl_mpl
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:07