ESPHome
2024.10.3
|
#include <optional.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
optional () | |
optional (nullopt_t) | |
optional (T const &arg) | |
template<class U > | |
optional (optional< U > const &other) | |
optional & | operator= (nullopt_t) |
template<class U > | |
optional & | operator= (optional< U > const &other) |
void | swap (optional &rhs) |
value_type const * | operator-> () const |
value_type * | operator-> () |
value_type const & | operator* () const |
value_type & | operator* () |
operator safe_bool () const | |
bool | has_value () const |
value_type const & | value () const |
value_type & | value () |
template<class U > | |
value_type | value_or (U const &v) const |
void | reset () |
Definition at line 36 of file optional.h.
using esphome::optional< T >::value_type = T |
Definition at line 41 of file optional.h.
|
inline |
Definition at line 43 of file optional.h.
|
inline |
Definition at line 45 of file optional.h.
|
inline |
Definition at line 47 of file optional.h.
|
inline |
Definition at line 49 of file optional.h.
|
inline |
Definition at line 87 of file optional.h.
|
inline |
Definition at line 85 of file optional.h.
|
inline |
Definition at line 81 of file optional.h.
|
inline |
Definition at line 83 of file optional.h.
|
inline |
Definition at line 77 of file optional.h.
|
inline |
Definition at line 79 of file optional.h.
|
inline |
Definition at line 51 of file optional.h.
|
inline |
Definition at line 56 of file optional.h.
|
inline |
Definition at line 97 of file optional.h.
|
inline |
Definition at line 62 of file optional.h.
|
inline |
Definition at line 89 of file optional.h.
|
inline |
Definition at line 91 of file optional.h.
|
inline |
Definition at line 93 of file optional.h.