tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
128 stars 18 forks source link

Option to allow duplicate types in format building #106

Closed tgockel closed 6 years ago

tgockel commented 6 years ago

Currently, when a duplicate types is entered into a formats_builder, an std::invalid_argument is thrown with a message about how that type already exists. This can be inconvenient at time. There are three things that are possible: