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

YouTube

Allocators in C++11

CppNow via YouTube

Overview

Explore the evolution and implementation of allocators in C++11 through this comprehensive conference talk. Gain insights into the motivations behind custom allocators, learn about the coding idioms required by standard library vendors, and discover how to easily write new allocators. Delve into the changes in container implementation using the new allocator model. Understand the historical context of allocators in C++, including their limitations and the challenges faced in creating useful alternatives to std::allocator. Examine Bloomberg's experience with a different allocator model and how it influenced the adaptation of the C++ allocator framework. Investigate the 'allocator_traits' of C++11, their implementation challenges for library vendors, and how they simplify the process of writing new allocators. Learn how these changes impact the way containers access and use allocators, ultimately making custom allocators more accessible and seamlessly integrated with conforming containers.

Syllabus

Alisdair Meredith: Allocators in C++11

Taught by

CppNow

Reviews

Start your review of Allocators in C++11

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.