senf::comparable_safe_bool< T > Class Template Reference

Mixin class for safe bool conversion support (comparable classes) More...

#include <senf/Utils/safe_bool.hh>

Inheritance diagram for senf::comparable_safe_bool< T >:

Public Member Functions

 operator bool_type () const
 
bool operator! () const
 

Protected Member Functions

 ~comparable_safe_bool ()
 
- Protected Member Functions inherited from senf::safe_bool_base
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 ()
 

Additional Inherited Members

- Protected Types inherited from senf::safe_bool_base
typedef void(safe_bool_base::* bool_type) () const
 

Detailed Description

template<typename T>
class senf::comparable_safe_bool< T >

Mixin class for safe bool conversion support (comparable classes)

See also
safe_bool

Definition at line 66 of file safe_bool.hh.

Constructor & Destructor Documentation

◆ ~comparable_safe_bool()

template<typename T >
senf::comparable_safe_bool< T >::~comparable_safe_bool ( )
protected

Member Function Documentation

◆ operator bool_type()

template<typename T >
senf::comparable_safe_bool< T >::operator bool_type ( ) const

◆ operator!()

template<typename T >
bool senf::comparable_safe_bool< T >::operator! ( ) const

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