SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
|
Template class that supports a special invalid magic value for a type. More...
#include <sensesp/types/nullable.h>
Public Member Functions | |
Nullable () | |
Nullable (T value) | |
Nullable< T > & | operator= (T &value) |
Nullable< T > & | operator= (const Nullable< T > &other) |
operator T () const | |
bool | is_valid () const |
T * | ptr () |
T | value () const |
Static Public Member Functions | |
static T | invalid () |
Template class that supports a special invalid magic value for a type.
The invalid value is always provided by the type's default constructor.
Definition at line 15 of file nullable.h.
|
inline |
Definition at line 17 of file nullable.h.
|
inline |
Definition at line 18 of file nullable.h.
|
inlinestatic |
|
inline |
|
inline |
Definition at line 27 of file nullable.h.
|
inline |
Definition at line 23 of file nullable.h.
|
inline |
|
inline |
Definition at line 35 of file nullable.h.
|
inline |