2 ms·
Hi, author here, i use the 'type' field of the json_value struct, strings, object keys, object values and array members are allocated, i use this info for freei
by xnacly 2y ago
Hi, author here, i use the 'type' field of the json_value struct, strings, object keys, object values and array members are allocated, i use this info for freeing the memory
- UncleEntity 2y agoSo, umm, abusing the C switch statement to implement polymorphism? I kid, I kid... I am curious about how much this really saves over just using C++ classes and something like the curiously recurring template pattern while turning off runtime type checking.