ScummVM API documentation
Common::SafeBool< DerivedT, BaseT > Struct Template Reference

#include <safe-bool.h>

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

Public Member Functions

 operator bool_type () const
 
 operator 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.


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