MCPcopy Create free account
hub / github.com/Naios/function2 / empty

Function empty

include/function2/function2.hpp:1259–1261  ·  view source on GitHub ↗

Returns true when the erasure doesn't hold any erased object

Source from the content-addressed store, hash-verified

1257
1258 /// Returns true when the erasure doesn't hold any erased object
1259 constexpr bool empty() const noexcept {
1260 return vtable_.empty();
1261 }
1262
1263 /// Invoke the function of the erasure at the given index
1264 ///

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected