26 ms·
It does create an object with that base class for the allocator but returns an object of the type you want from the allocator, using a template (Region::Instanc
by projektfu 6y ago
It does create an object with that base class for the allocator but returns an object of the type you want from the allocator, using a template (Region::Instance<T>). So the API user only sees the types it's interested in.