Types | C++ Simple Customizable Reflection System Tutorial | Part 1
Connor De Meyer
0:00 / 0:00
Types | C++ Simple Customizable Reflection System Tutorial | Part 1
3 345 просмотров · 3 года назад
Connor De Meyer
73 подписчика
3 345 просмотров · 3 года назад
This guide is the first of a series of videos explaining how to implement a simple reflection system in C++ that can be used in various programs.
This is a header only implementation and does not require the user to add a library, add a build step or add an experimental C++ feature.
This tutorial we go over the basic structure of making a simple reflection system. We are able to register types and see them anywhere in the project. The information that gets stored for each type is up to the developer.
Video Source Code:
https://github.com/ConnorDeMeyer/Refl...
Reflection API
https://github.com/ConnorDeMeyer/Glas...
00:00 Introduction
00:21 Final Result Demo
01:31 Project Setup
02:02 std typeid
02:45 Type Names
03:50 Type Hashing
04:40 Type Info
05:35 Registering Types
06:18 Pre Main Type Registration
09:42 Expanding Type Info
10:45 Final Result