Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
logicchains
5y ago
0 comments
Save
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
quietbritishjim
5y 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