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

Class capacity_fixed

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

Source from the content-addressed store, hash-verified

1720template <std::size_t Capacity,
1721 std::size_t Alignment = alignof(std::max_align_t)>
1722struct capacity_fixed {
1723 static constexpr std::size_t capacity = Capacity;
1724 static constexpr std::size_t alignment = Alignment;
1725};
1726
1727/// Default capacity for small functor optimization
1728struct capacity_default

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected