Better memory management.
C++17: Polymorphic Allocators, Debug Resources and Custom Types
by Bartlomiej Filipek
From the article:
In my previous article on polymorphic allocators, we discussed some basic ideas. For example, you’ve seen a pmr::vector that holds pmr::string using a monotonic resource. How about using a custom type in such a container? How to enable it? Let’s see.
Add a Comment
Comments are closed.