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

YouTube

These 10 Tricks That Only Library Implementors Know

ACCU Conference via YouTube

Overview

Discover advanced C++ coding techniques used by library implementors in this ACCU Conference talk. Explore subtle idioms and tricks employed in standard library implementations, including Empty Base Class Optimization, classes with deleted copy/move semantics, allocator-managed objects, exception safety, and multiple feature implementations with input-based dispatching. Learn how to write robust generic code as speakers Marshall and Jonathan delve into topics such as No Unique Address, No Unique Pointer, Construct from Anything, Constraints, Template metaprogramming, Common type traits, Generic options, Copy constructors, Default constructors, Special members, Explicit constructors, and Unique pointers. Gain valuable insights to enhance your C++ programming skills and understand the intricacies of library development.

Syllabus

Introduction
Trix
Empty Base Classes
No Unique Address
No Unique Pointer
Construct from Anything
Constraints
Template metaprogramming
Common type trait
Generic option
Copy constructors
Default constructors
Copy constructor
Special members
Explicit constructors
Unique pointers

Taught by

ACCU Conference

Reviews

Start your review of These 10 Tricks That Only Library Implementors Know

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.