Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
logicchains
4y ago
0 comments
Share
Noo, it's missing something basic: struct introspection. Unlike almost every other modern language, it's not possible to write a generic "ToJson" or "ToString" that will work for any struct.
undefined | Better HN
0 comments
default
newest
oldest
quietbritishjim
4y ago
Not sure whether that's a sarcastic commentary or your just not aware, but C++ will, of course, also get (static) reflection
https://en.cppreference.com/w/cpp/keyword/reflexpr
j
/
k
navigate · click thread line to collapse