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

◆ operator==() [1/4]

template<typename T>
bool fl::Optional< T >::operator== ( const Optional< T > & other) const
inline

Definition at line 66 of file optional.h.

66 {
67 if (empty() && other.empty()) {
68 return true;
69 }
70 if (empty() || other.empty()) {
71 return false;
72 }
73 return *ptr() == *other.ptr();
74 }
bool empty() const
Definition optional.h:29
T * ptr()
Definition optional.h:31

References Optional(), empty(), and ptr().

+ Here is the call graph for this function: