polymorphic_allocator: when and why should I use it?
Choice quote from cppreference: This runtime polymorphism allows objects using polymorphic_allocator to behave as if they used different allocator types at run time despite the identical static allocator type The issue with “regular” allocators is that they change the type of the container. If you want a vector with a specific allocator, you can make … Read more