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

Method capacity

include/function2/function2.hpp:1142–1144  ·  view source on GitHub ↗

Returns the capacity of this erasure

Source from the content-addressed store, hash-verified

1140public:
1141 /// Returns the capacity of this erasure
1142 static constexpr std::size_t capacity() noexcept {
1143 return internal_capacity_holder<typename Config::capacity>::capacity();
1144 }
1145
1146 FU2_DETAIL_CXX14_CONSTEXPR erasure() noexcept {
1147 vtable_.set_empty();

Callers 3

erasureMethod · 0.45
erasureClass · 0.45
invokeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected