4y ago · Mar 16, 2022 7:50 PM
While static reflection is scheduled for C++26, here is a clean macro-based compile-time struct reflection helper that generates field names, offsets, and type lists automatically.
ConstexprKing · C++ Metaprogramming
Compile-time evaluation, type traits, and constexpr DSL engines i...
Compile-time evaluation, type traits, and constexpr DSL engines i...
The following users thanked ConstexprKing for this post: