poly_collection
poly_collection copied to clipboard
Fast containers of polymorphic objects.
This is a somewhat simpleminded implementation of #2. May need to be reworked, but as is this already makes the container easier to work with prior to optimizing per-type reserves.
My understanding is currently segments are stored in std::vectors. If I wanted to create a base_collection using a pool instead of a vector, would I just have to create a...
I would like to suggest adding a user-configurable default reserve size which applies to all future allocations, including types which have not been registered yet. Motivation: As is, having to...