4 ms·
That doesn't look any better. Yes, xmacros have the best compile times, but you can't possibly argue that they are elegant to use compared to the alternatives.
by spacechild1 5mo ago
That doesn't look any better.
Yes, xmacros have the best compile times, but you can't possibly argue that they are elegant to use compared to the alternatives.
- uecker 5mo agoIt looks better to me than the other macro solution as it is more transparent what is done compared to DEFINE_ENUM. But I agree it is not as succinct as C++'s reflection syntax.
- spacechild1 5mo ago> It looks better to me than the other macro solution as it is more transparent what is done compared to DEFINE_ENUM. Fair enough.