Custom Memory Allocator
Learn how to use a custom memory allocator with standard library containers in a simplified version.
We'll cover the following
Using a custom memory allocator with standard library containers
When trying out our custom memory manager with a specific type, it worked great! There is a problem, though. It turns out that the class-specific operator new
is not called on all the occasions we might have expected. Consider the following code:
Get hands-on with 1400+ tech skills courses.