Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the past, present, and potential future of reflection in C++ through this comprehensive conference talk from CppCon 2022. Delve into the history of reflection and related technologies in programming languages, examining past promises and current developments in C++ standardization. Gain insights into compelling applications on the horizon, including improved generic programming, high-leverage generic code, and seamless integration with foreign languages. Learn about design by reflection, the Million Lines of Code Challenge, and practical applications in areas such as templates, string types, and constructors. Discover how reflection can revolutionize container adapters, enable container-independent code, and facilitate powerset interfaces. Examine static reflection, D reflection applications, and potential language changes through code examples. Understand the implications for runtime switches, algorithm selection, and the future of STD Meta in C++.
Syllabus
Introduction
What is reflection
Design by reflection
Million Lines of Code Challenge
Templates
String Types
Constructors
The Verdict
Container adapters
Container independent code
Powerset interfaces
History of Reflection
Static Reflection
D Reflection Applications
Code Example
Language Changes
Example
Runtime Switch
Algorithm Selection
STD Meta
Taught by
CppCon