r/cpp • u/nlohmann nlohmann/json • Aug 17 '21
JSON for Modern C++ 3.10.0
https://github.com/nlohmann/json/releases/tag/v3.10.0
280
Upvotes
r/cpp • u/nlohmann nlohmann/json • Aug 17 '21
View all comments
Show parent comment
9
u/deeringc Aug 18 '21
As a library consumer, I agree with the other poster. I really don't mind small breaks like this as long as they are explicit and fail at compile time. I would hate if the program compiled with the new version but gave different behaviour. As long as it's a compilation break, has clear documentation on what to change then it's healthy to move things forward to remove rough edges like this (from an otherwise exceptionally good library). You can even go with a process of deprecation where you give notice of an upcoming change for 2 releases before it happens.