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

NDC Conferences

Breaking Dependencies - Type Erasure - The Implementation Details

NDC Conferences via YouTube

Overview

Dive into the powerful design pattern of Type Erasure in this 55-minute conference talk by Klaus Iglberger at NDC Conferences. Explore the implementation details of Type Erasure, a technique praised by experts like Eric Niebler for its superiority over inheritance in dependency management. Learn how to create both owning and non-owning Type Erasure Wrappers in just ~20 lines of code. Discover performance optimization strategies, including manual implementation of virtual functions and Small Buffer Optimization (SBO). Gain comprehensive knowledge to implement and utilize Type Erasure in your own C++ projects, reducing coupling between software entities and improving overall code design.

Syllabus

Breaking Dependencies: Type Erasure - The Implementation Details - Klaus Iglberger

Taught by

NDC Conferences

Reviews

Start your review of Breaking Dependencies - Type Erasure - The Implementation Details

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.