Skip to content

C++ Type Erasure: Why It's Important to Understand

Photo of Scott Fredericksen
Hosted By
Scott F. and Jason T.
C++ Type Erasure: Why It's Important to Understand

Details

Type erasure is the backbone of the C++ standard library types such as std::function and std::any. This talk would explain the idea of type erasure and how it gets implemented. We will first explore C style type erasure with the cast and void* and OOP style type-erasure with inheritance and virtual dispatch. And then, we will start to explain more advanced type erasure techniques that are used to implement standard libraries and some related considerations such as small buffer optimization.

As always, we will have food (gluten free options) and drinks available.

We hope to see you there!

Photo of Denver C++ Meetup group
Denver C++ Meetup
See more events