AI, Data Science & Cloud Certificates from Google, IBM & Meta
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the design space for runtime polymorphism in C++ through this comprehensive conference talk. Delve into alternative approaches to the traditional inheritance-based model, focusing on a policy-based solution that offers greater flexibility and efficiency. Learn how to implement runtime polymorphism with various storage options, including stack-allocated, heap-allocated, shared, and reference semantics. Discover techniques to fine-tune the dispatch mechanism, potentially outperforming classic virtual tables in certain scenarios. Gain insights from real-world examples based on the Dyno library implementation, while understanding the underlying principles that can be applied independently. By the end of the presentation, acquire a clear understanding of different runtime polymorphism implementations, their trade-offs, and guidelines for choosing the most appropriate approach for specific use cases.
Syllabus
C++Now 2018: Louis Dionne “Runtime Polymorphism: Back to the Basics”
Taught by
CppNow