3 ms·
C++ actually supports this approach in the standard library and doing this is a really standard technique in some domains. That's what the allocator template pa
by humanrebar 9y ago
C++ actually supports this approach in the standard library and doing this is a really standard technique in some domains. That's what the allocator template parameter in vector and other containers is for.