ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::SafeBool< DerivedT, BaseT > Struct Template Reference

Prevents `operator bool` from implicitly converting to other types. More...

#include <safe-bool.h>

Inheritance diagram for Common::SafeBool< DerivedT, BaseT >:

List of all members.

Public Member Functions

 operator bool_type () const
 operator bool_type ()

Private Types

typedef impl::safe_bool_impl
< DerivedT > 
impl_t
typedef impl_t::type bool_type

Detailed Description

template<typename DerivedT, typename BaseT = impl::no_base<DerivedT>>
struct Common::SafeBool< DerivedT, BaseT >

Prevents `operator bool` from implicitly converting to other types.

Definition at line 47 of file safe-bool.h.


Member Typedef Documentation

template<typename DerivedT, typename BaseT = impl::no_base<DerivedT>>
typedef impl_t::type Common::SafeBool< DerivedT, BaseT >::bool_type [private]

Definition at line 50 of file safe-bool.h.

template<typename DerivedT, typename BaseT = impl::no_base<DerivedT>>
typedef impl::safe_bool_impl<DerivedT> Common::SafeBool< DerivedT, BaseT >::impl_t [private]

Definition at line 49 of file safe-bool.h.


Member Function Documentation

template<typename DerivedT, typename BaseT = impl::no_base<DerivedT>>
Common::SafeBool< DerivedT, BaseT >::operator bool_type (  )  const [inline]

Definition at line 53 of file safe-bool.h.

template<typename DerivedT, typename BaseT = impl::no_base<DerivedT>>
Common::SafeBool< DerivedT, BaseT >::operator bool_type (  )  [inline]

Definition at line 58 of file safe-bool.h.


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


Generated on Sat Nov 16 2019 05:02:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge