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

Class capacity_none

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

Can be passed to function_base as template argument which causes the internal small buffer to be removed from the callable wrapper. The owning function_base will then allocate memory for every object it applies a type erasure on.

Source from the content-addressed store, hash-verified

1733/// The owning function_base will then allocate memory for every object
1734/// it applies a type erasure on.
1735struct capacity_none : capacity_fixed<0UL> {};
1736
1737/// Can be passed to function_base as template argument which causes
1738/// the internal small buffer to be sized such that it can hold

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected