MCPcopy Create free account
hub / github.com/FastLED/FastLED / empty

Method empty

src/fl/stl/optional.h:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 bool empty() const FL_NOEXCEPT { return !mValue.template is<T>(); }
42 bool has_value() const FL_NOEXCEPT { return !empty(); } // std::optional compatibility
43 T *ptr() FL_NOEXCEPT { return mValue.template ptr<T>(); }
44 const T *ptr() const FL_NOEXCEPT { return mValue.template ptr<T>(); }

Callers 2

operator==Method · 0.45
operator==Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected