Reflect -this! - Design and Implementation of a Pragmatic Mixin Library with Static Reflection
Offered By: CppNow via YouTube
Course Description
Overview
Explore the design and implementation of a pragmatic mixin library with static reflection in this comprehensive conference talk from CppNow 2023. Dive deep into the technical details of implementing a reflection-based mixin library, building upon ideas from existing libraries like BOOST_FUSION_DEFINE_STRUCT and Boost.PFR. Learn about specifying custom mixins, managing mixin dependencies, and supporting both aggregate and non-aggregate types. Examine the design choices, tradeoffs, and future possibilities for mixin libraries in C++, including potential benefits from upcoming language versions. Gain insights into building powerful libraries and tools for enhancing developer productivity through mixins for features like hashing, serialization, and debug-printing.
Syllabus
Intro
How not to design dinosaurs
Whats a mixin
Design priorities
Design techniques
Python mixins
Rust mixins
C mixins
Tuple Define Structure
BoostPFR
Usage Library
Usage Library in a Class
Equality Extension
Using Declaration
Homework
Baseline
Understandability
Summary
Evolution
Understanding
Taught by
CppNow
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity