Writing a simple JSON library from scratch: a tour through modern C++

from blog Notes on software development, | ↗ original
Modern C++ has a lot of cool features. Move semantics means passing around structs in functions is cheap. std::shared_ptr means I don't have to manage any memory; no more new/delete! (But try as I might to understand std::unique_ptr, I'm just not there yet.) The syntax has also gotten some treatment with auto and tuple destructuring. In order to...