Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SafeBool.hpp File Reference

#include "Benzene.hpp"

Go to the source code of this file.

Classes

class  SafeBool< T >
 Implements the Save Bool Idiom. More...

Functions

template<typename T , typename U >
bool operator!= (const SafeBool< T > &lhs, const SafeBool< U > &rhs)
 Invalidates operator!=.
template<typename T , typename U >
bool operator== (const SafeBool< T > &lhs, const SafeBool< U > &rhs)
 Invalidates operator==.

Detailed Description

Definition in file SafeBool.hpp.


Function Documentation

template<typename T , typename U >
bool operator!= ( const SafeBool< T > &  lhs,
const SafeBool< U > &  rhs 
) [inline]

Invalidates operator!=.

Definition at line 35 of file SafeBool.hpp.

References SafeBool< T >::this_type_does_not_support_comparisons().

template<typename T , typename U >
bool operator== ( const SafeBool< T > &  lhs,
const SafeBool< U > &  rhs 
) [inline]

Invalidates operator==.

Definition at line 43 of file SafeBool.hpp.

References SafeBool< T >::this_type_does_not_support_comparisons().


6 Jan 2011 Doxygen 1.6.3