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

YouTube

C++ Type Erasure Demystified - Lecture

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into an in-depth exploration of type erasure in C++ with this comprehensive conference talk by Fedor G Pikus at C++Now 2024. Demystify the concept of type erasure, often considered the pinnacle of abstraction in C++, through clear explanations and practical demonstrations. Begin by examining code examples that showcase the end result of type erasure, then uncover the fundamental technique underlying all implementations. Learn three basic approaches to implementing type erasure, stripped down to their essentials for maximum clarity. Gain insights into vtable implementation along the way. Compare the performance of different type erasure implementations, including tips on optimizing std::function for speed. Whether you're looking to create your own implementation or leverage existing libraries, walk away with a solid understanding of type erasure, dispelling its mystique and equipping you with practical knowledge for your C++ projects.

Syllabus

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

Taught by

CppNow

Reviews

Start your review of C++ Type Erasure Demystified - Lecture

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.