FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ swap()

template<typename T>
void fl::Optional< T >::swap ( Optional< T > & other)
inline

Definition at line 75 of file optional.h.

75 {
76 if (this != &other) {
77 mValue.swap(other.mValue);
78 }
79 }
fl::Variant< T, Empty > mValue
Definition optional.h:82

References Optional(), and mValue.

+ Here is the call graph for this function: