Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Reflect -this! - Design and Implementation of a Pragmatic Mixin Library with Static Reflection

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Reflect -this! - Design and Implementation of a Pragmatic Mixin Library with Static Reflection

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.