Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++17's std::pmr Comes With a Cost

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk introduces C++17’s polymorphic allocator model and examines its effects on move semantics, testing, performance, developer productivity, and reliability. It offers recommendations for when and how to use std::pmr in large codebases.

Syllabus

Introduction
Trick question
Read the code
Outline
Fragmentation
Complexity
Synchronized Pool
Unsynchronized Pool
Logging Resource
Setting Default Resource
Example
Undefined Behavior
Exception Safety
Polymorphic
Alligator Awareness
Default constructor
PMR Dirty Little Secret

Taught by

CppNow

Reviews

Start your review of C++17's std::pmr Comes With a Cost

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.