json/include/nlohmann
Thomas Braun 6ce2f35ba8 Fix outputting extreme integer values in edge cases
For some gcc version (Ubuntu 5.5.0-12ubuntu1~16.04) the existing code
crashes when the minimum value of int64_t is outputted.

Resurrect the code from before 546e2cbf (🚨 fixed some warnings,
2019-03-13) but delegate the sign removal so that the compilers don't
complain about taking the negative value of an unsigned value.

In addition we also rewrite the expression so that we first increment
and then negate.

The definition of remove_sign(number_unsigned_t) is never called as
unsigned values are never negative.
2019-09-03 13:55:15 +02:00
..
detail Fix outputting extreme integer values in edge cases 2019-09-03 13:55:15 +02:00
thirdparty/hedley 🚚 rename Hedley macros 2019-07-01 22:37:30 +02:00
adl_serializer.hpp 🚨 fixed some more linter warnings 2018-10-28 09:15:41 +01:00
json.hpp 🔖 set version to 3.7.0 2019-07-28 20:20:41 +02:00
json_fwd.hpp 🚨 fixed warnings 2019-03-15 14:55:13 +01:00