Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course aims to explore a new design for interface-based type erasure in C++ that combines the convenience of inheritance with additional benefits. The course will cover the concepts of code injection and metaclasses, which are proposed for inclusion in C++, along with a prototype implementation based on the experimental metaclasses Clang fork. The learning outcomes include understanding the limitations of traditional dynamic polymorphism, exploring alternative approaches like type erasure, and gaining insights into the future of dynamic polymorphism in C++. The course is designed for C++ developers interested in advanced language features and modern design patterns.