Interview with Jan Wilczek about applying type erasure @MeetingCPP
Interview with Jan Wilczek about applying type erasure  @MeetingCPP
Uploaded October 2026 | Updated November 2026, 2 hours ago
Jan Wilczek on his talk at Meeting C++ 2026: meetingcpp.com/mcpp/schedule/talkview.php?th=74e2c39d32e7bfefbbced3746cf8963f22f84cf6

Talk Description:
Application developers sometimes hit a limitation of a 3rd-party library or framework. The Type Erasure design pattern can help us overcome such limitations without the need to change the 3rd-party API.

Type Erasure is a relatively complex design pattern that allows us to treat a set of unrelated classes as if they shared a common base class, while preserving value semantics. The downside is increased code bloat and code complexity as the pattern requires a significant amount of additional code.

There have been quite a few talks explaining HOW to implement Type Erasure, while the topic of WHEN has been rarely discussed. Should we always use type erasure instead of virtual polymorphism? And if not, then what are the criteria?

This talk will show a concrete example from the audio programming industry of how Type Erasure allowed adding new functionalities to the parameter class system of the JUCE C++ framework without changing its API. As such, the talk will be useful for application and library developers who use 3rd party libraries but need an extra degree of flexibility.

You will come out of the talk understanding

what Type Erasure is,
when to use it, and
how to implement it.

You don't need to understand Type Erasure, audio development, or JUCE to attend the talk; the necessary minimum will be explained during the talk.
Interview with Jan Wilczek about applying type erasurePeering forward: C++s next decade - Herb Sutter - Keynote Meeting C++ 2024My least favorite C++ feature - James McNellis - Meeting C++ 2024 secret lightning talksCasts in C++: To lie... and hopefully - to lie usefully - Patrice Roy - Meeting C++ 2025Are you hiring for C++? What Meeting C++ has to offer!Make move constructors noexcept or vectors will copy #cplusplusAn (In-) Complete Guide to C++ Object Lifetimes - Jonathan Müller - Meeting C++ 2024An Introduction to Swarm Intelligence Algorithms - Frances Buontempo - Meeting C++ 2024Binary Parsing, C++23 Style - Hari Prasad Manoharan - Meeting C++ 2025LLVM Code Generation - Book Review with Author Quentin ColombetThe promise of static reflection in C++26: Type Traits without compiler intrinsics - Andrei ZissuNeural Rendering for Subsurface Scattering - Cyrill Miksch
Meeting Cpp |

Interview with Jan Wilczek about applying type erasure

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER