Mistake on this page?
Report an issue in GitHub or email us
Protected Types | Protected Member Functions
base Class Reference

Base class of all SafeBool instances. More...

#include <SafeBool.h>

Inheritance diagram for base:
SafeBool< T > SafeBool< CallChainOfFunctionPointersWithContext< ContextType > > SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > > SafeBool< FunctionPointerWithContext< const DiscoveredService * > > SafeBool< FunctionPointerWithContext< ContextType > > SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > > SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > > SafeBool< FunctionPointerWithContext< OnEventsToProcessCallbackContext * > >

Protected Types

typedef void(base::* BoolType_t) () const
 The bool type is a pointer to method that can be used in boolean context. More...
 

Protected Member Functions

void invalidTag () const
 Nonimplemented call, use to disallow conversion between unrelated types. More...
 
void trueTag () const
 Special member function that indicates a true value. More...
 

Detailed Description

Base class of all SafeBool instances.

This nontemplate base class exists to reduce the number of instantiation of the trueTag function.

Definition at line 42 of file common/SafeBool.h.

Member Typedef Documentation

typedef void(base::* BoolType_t) () const
protected

The bool type is a pointer to method that can be used in boolean context.

Definition at line 50 of file common/SafeBool.h.

Member Function Documentation

void invalidTag ( ) const
protected

Nonimplemented call, use to disallow conversion between unrelated types.

void trueTag ( ) const
protected

Special member function that indicates a true value.

Definition at line 60 of file common/SafeBool.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.