FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator==() [3/6]

bool fl::Optional< T >::operator== ( const T & value) const
inline

Definition at line 95 of file optional.h.

95 {
96 if (empty()) {
97 return false;
98 }
99 return *ptr() == value;
100 }
bool empty() const FL_NOEXCEPT
Definition optional.h:170
T * ptr() FL_NOEXCEPT
Definition optional.h:172
T && value() FL_NOEXCEPT
Definition optional.h:226