49 return *
ptr() == *other.
ptr();
58 return *
ptr() == value;
61 template <
typename TT,
typename UU>
63 if (!other.template holdsTypeOf<T>()) {
72 return *
ptr() == *other.template
ptr<T>();
bool operator==(const Optional &other) const
Optional & operator=(const T &value)
bool operator==(const T &value) const
void swap(Optional &other)
Optional & operator=(const Optional &other)
fl::Variant< T, Empty > mValue
bool operator==(const Variant< TT, UU > &other) const
bool operator!=(const Optional &other) const
Optional(const Optional &other)
bool empty() const noexcept
Implements a simple red square effect for 2D LED grids.