FastLED 3.9.15
|
Definition at line 18 of file optional.h.
#include <optional.h>
Public Member Functions | |
Optional () | |
Optional (const Optional &other) | |
Optional (const T &value) | |
Optional (nullopt_t) | |
Optional (Optional &&other) noexcept | |
Optional (T &&value) | |
~Optional () | |
bool | empty () const |
bool | has_value () const |
operator bool () const | |
bool | operator! () const |
bool | operator!= (const Optional &other) const |
bool | operator!= (nullopt_t) const |
bool | operator() () const |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
Optional & | operator= (const Optional &other) |
Optional & | operator= (const T &value) |
Optional & | operator= (nullopt_t) |
Optional & | operator= (Optional &&other) noexcept |
bool | operator== (const Optional &other) const |
bool | operator== (const T &value) const |
template<typename TT, typename UU> | |
bool | operator== (const Variant< TT, UU > &other) const |
bool | operator== (nullopt_t) const |
T * | ptr () |
const T * | ptr () const |
void | reset () |
void | swap (Optional &other) |
Private Attributes | |
fl::Variant< T, Empty > | mValue |