C++ compile time type registry using typelist [duplicate]
This question already has answers here: How do I create a type list to expand into a tuple? (2 answers) Expanding a typelist into a variadic template (4 answers) Closed 3 mins ago. I’m experimenting with creation of my own ECS in C++, and I got an idea to have some kind of compile time […]
C++ compile time type registry
I’m experimenting with creation of my own ECS in C++, and I got an idea to have some kind of compile time type registry(basically a types list) from which i can later create a tuple of my systems. The idea is to have a compile time errors, not runtime, for example if system was not registered but I’m trying to get it etc.