Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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