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

Class capacity_default

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

Default capacity for small functor optimization

Source from the content-addressed store, hash-verified

1726
1727/// Default capacity for small functor optimization
1728struct capacity_default
1729 : capacity_fixed<detail::object_size::value - (2 * sizeof(void*))> {};
1730
1731/// Can be passed to function_base as template argument which causes
1732/// the internal small buffer to be removed from the callable wrapper.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected