FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Optional< T > Class Template Reference

Detailed Description

template<typename T>
class fl::Optional< T >

Definition at line 18 of file optional.h.

#include <optional.h>

+ Inheritance diagram for fl::Optional< T >:
+ Collaboration diagram for fl::Optional< T >:

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
 
Optionaloperator= (const Optional &other)
 
Optionaloperator= (const T &value)
 
Optionaloperator= (nullopt_t)
 
Optionaloperator= (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, EmptymValue
 

The documentation for this class was generated from the following file: