Files
json/single_include/nlohmann
Niels Lohmann 8557b661ab Fix MSVC C4127 warning-as-error in is_exactly_representable_as_float
MSVC's /W4 flags 'if (float_digits >= int_digits)' as C4127 (conditional
expression is constant), since both operands are constexpr int for any
single template instantiation. This CI job builds with warnings-as-errors,
failing the build.

Apply the same MSVC-only pragma push/disable(4127)/pop pattern already
used elsewhere in the codebase (see json.hpp's set_parents() workaround)
rather than if constexpr, since this file must stay C++11-compatible.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-07-10 07:37:26 +02:00
..
2026-01-01 20:00:39 +01:00