Easton Man's Channel
3 hours ago
Daniel Lemire's blog
Parsing JSON at compile time with C++26 static reflection
Telegraph
|
source
Telegraph
Parsing JSON at compile time with C++26 static reflection
Suppose that you have a configuration file in JSON. Something like this: { "width": 1920, "height": 1080, "fullscreen": true, "title": "My Game", "volume": 0.8 } Normally you ship this file alongside your program, open it at startup, read it, and parse it.…
Home
Powered by
BroadcastChannel
&
Sepia