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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.