Talk type: Talk
JSON in C++: designing a type for working with JSON values
We'll dive into designing a C++ type for wroking with JSON values. We will:
- remind ourselves some basic ideas and nuances of type design in C++,
- carefully look back at the standard containers and
std::variant
, - try to make the interface easy to use correctly and hard to use incorrectly,
- and add support for C++ allocators.