YoVDO

Reflection - Compile-Time Introspection of C++

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses Deserialization Courses Metaprogramming Courses Generic Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore compile-time introspection in C++ through this comprehensive ACCU 2021 conference talk. Delve into the core concepts of reflection and reification, examining various methods of language support, including the current Reflection TS approach and alternative considerations. Learn how reflection can enhance traditional generic programming techniques to develop more general algorithms based on class property introspection. Discover the potential of static reflection as a powerful upcoming feature for C++23, supported by advanced constexpr capabilities. Gain insights from examples demonstrating reflection's application in augmenting generic programming and creating versatile algorithms. Understand the implementation of reflection operators, types, and libraries, along with practical applications such as generating indirection, creating iterative pointers, and developing serialization algorithms.

Syllabus

Introduction
Examples
Reflection and metaprogramming: final
Motivation for metaprogramming
Where static reflection helps
Generating indirection
Reflection operator (P2320) Is an expression Produces a comple-time (as in constexpr) value that describes its operand
Reflection type (P1240)
Testing our indirection generator
Reflection library (P1240)
Making pointers iteratively
Splice operator
Splice equation
A reflective indirection generator
Expansion statements
A trivial implementation
Equivalent specialization
Serialization algorithm
Sketch of algorithm
Serialization as a facility
The main structure
Serialization interface
Serializing base cases
Serializing composites
Generic and extensible
Deserialization
Deserializing classes


Taught by

ACCU Conference

Related Courses

Python 3: Deep Dive (Part 3 - Dictionaries, Sets, JSON)
Udemy
Automating your API tests with REST Assured
Test Automation University
Deploying PyTorch Models in Production: PyTorch Playbook
Pluralsight
Getting Started with JSON in C# Using Json.NET
Pluralsight
Introduction to the Java API for Web Sockets
Pluralsight