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

YouTube

New and Old C++ Standard Library Containers - How to Choose the Right Container in C++26 and Beyond

ACCU Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the comprehensive landscape of C++ Standard Library containers in this conference talk from ACCU 2025, focusing on selecting optimal containers for performance-critical applications. Learn how to navigate the complex tradeoffs between different container types, understanding both algorithmic complexity and real-world performance characteristics that can profoundly impact program efficiency. Discover the two new containers arriving in C++26 - the first additions since C++11 - alongside the four new container adaptors introduced in C++23, and examine how these fit within the existing container ecosystem. Analyze the abstractions each container is designed to express and the practical limitations they impose, with detailed guidance on matching containers to specific use cases. Gain insights into the potentially misleading aspects of Standard Library container APIs and understand why historical design decisions affect modern container selection. Review proposed future containers targeting C++29 and beyond, evaluating their designs and potential value additions to justify inclusion in the Standard Library. Benefit from the expertise of Alan Talbot, a veteran C++ programmer since 1990 and ISO C++ committee member since 2005, who has contributed significantly to container efficiency improvements including emplacement behavior, node extraction and merging for associative containers, and union enhancements.

Syllabus

New (& Old) C++ Standard Library Containers - How to Choose the Right Container in C++26 and Beyond

Taught by

ACCU Conference

Reviews

Start your review of New and Old C++ Standard Library Containers - How to Choose the Right Container in C++26 and Beyond

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.