MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator!

Method operator!

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

Source from the content-addressed store, hash-verified

76
77 bool operator()() const FL_NOEXCEPT { return !empty(); }
78 bool operator!() const FL_NOEXCEPT { return empty(); }
79
80 // Explicit conversion to bool for contextual boolean evaluation
81 explicit operator bool() const FL_NOEXCEPT { return !empty(); }

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 1

emptyFunction · 0.70

Tested by

no test coverage detected