Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
base Class Reference
Base class of all SafeBool instances. More...
#include <SafeBool.h>
Inherited by SafeBool< T >, SafeBool< CallChainOfFunctionPointersWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< ble::connection_handle_t > >, SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > >, SafeBool< FunctionPointerWithContext< const DiscoveredService * > >, SafeBool< FunctionPointerWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > >, and 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. | |
Protected Member Functions | |
void | invalidTag () const |
Nonimplemented call, use to disallow conversion between unrelated types. | |
void | trueTag () const |
Special member function that indicates a true value. | |
Friends | |
class | SafeBool |
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 40 of file 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 48 of file 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 58 of file SafeBool.h.
Generated on Tue Jul 12 2022 13:55:45 by
