From Jason Turner
Watch on YouTube

Summary

Jason provides a comprehensive overview of C++17's Polymorphic Memory Resources (PMR), explaining the different standard memory resources including monotonic_buffer_resource, synchronized_pool_resource, unsynchronized_pool_resource, null_memory_resource, and new_delete_resource. He demonstrates how these can be combined to create powerful memory management solutions, including memory tracking, allocation logging, and efficient memory pools with upstream resources. The examples show how PMR can help catch stray allocations and tightly control memory usage.

Resources

Tags