Follow

What is the purpose of separating an object’s type from its allocator in C++?

@Acer allocators allow you to control how memory is allocated for objects where their size is not known up front. One notable reason is to make memory allocation more efficient than a naive/generic approach would be.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.