safe_bool_base Class Reference

#include <safe_bool.hpp>

Inherited by safe_bool< T >, safe_bool< >, and safe_bool< void >.

Inheritance diagram for safe_bool_base:

Inheritance graph
[legend]
List of all members.

Protected Types

typedef void(safe_bool_base::*) bool_type () const

Protected Member Functions

void this_type_does_not_support_comparisons () const
 safe_bool_base ()
 safe_bool_base (const safe_bool_base &)
safe_bool_baseoperator= (const safe_bool_base &)
 ~safe_bool_base ()

Detailed Description

Taken from http://www.artima.com/cppsource/safebool3.html See there for more information.

Definition at line 8 of file safe_bool.hpp.


Member Typedef Documentation

typedef void(safe_bool_base::*) safe_bool_base::bool_type() const [protected]

Definition at line 10 of file safe_bool.hpp.


Constructor & Destructor Documentation

safe_bool_base::safe_bool_base (  )  [inline, protected]

Definition at line 13 of file safe_bool.hpp.

safe_bool_base::safe_bool_base ( const safe_bool_base  )  [inline, protected]

Definition at line 14 of file safe_bool.hpp.

safe_bool_base::~safe_bool_base (  )  [inline, protected]

Definition at line 16 of file safe_bool.hpp.


Member Function Documentation

void safe_bool_base::this_type_does_not_support_comparisons (  )  const [inline, protected]

Definition at line 11 of file safe_bool.hpp.

Referenced by operator!=(), and operator==().

safe_bool_base& safe_bool_base::operator= ( const safe_bool_base  )  [inline, protected]

Definition at line 15 of file safe_bool.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 21 16:14:42 2006 for The Phrasehunter by  doxygen 1.5.1