Explore a comprehensive conference talk from CppCon 2024 that delves into the exciting possibilities of reflection in C++26 and its impact on library development. Learn how reflection can solve common "Don't Repeat Yourself" (DRY) violations in C++ programming, from handling enums to class exposures for Python bindings. Discover three innovative library concepts leveraging reflection capabilities: automatic Python bindings generation, ABI hashing for compatibility checking, and an enhanced std::any variant type that introduces duck typing to C++. Through detailed examples and explanations from Saksham Sharma, Director of Quantitative Research Technology at Tower Research Capital LLC, gain insights into how reflection could revolutionize the C++ ecosystem by enabling powerful library features without core language modifications.
Overview
Syllabus
C++ Reflection Based Libraries to Look Forward To - Saksham Sharma - CppCon 2024
Taught by
CppCon