4 ms·
And somewhat unfortunately, C++ has plan for a kind of reflection in the future [1]. But it's not here today. I'm wary of relying on a parser though: it could p
by pierrebai 6y ago
And somewhat unfortunately, C++ has plan for a kind of reflection in the future [1]. But it's not here today. I'm wary of relying on a parser though: it could prove a real drag as C++ evolve and you need to keep the parser up to date.
[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0592r4.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p059...