Re:The C23 edition of Modern C is now available for free
by wakawaka28 on Wednesday October 16, 2024 @04:23AM
(#41856808)
I know what reflection is of course. C++ makes it easy to implement IO. If you're asking for a reflection-based solution with less effort, you are practically asking for zero extra code. Anyway, C++ does not yet have reflection but who's to say how anyone wants any particular data to be dumped? A default implementation is nice but less useful than you make it sound. In any case, there are libraries approximating what you described (usually with macros and stuff) and reflection is totally coming at some point.
[ Parent
| on HN ]
There are no comments on this comment yet.