Files
json/tests
Niels Lohmann 97dc6bed50 Guard optional assignment test behind JSON_USE_IMPLICIT_CONVERSIONS
opt_assign = j_null relies on basic_json's implicit conversion
operator to satisfy std::optional's assignment operator template
(which requires is_assignable, not just is_constructible). With
implicit conversions disabled the operator is explicit, so the
assignment doesn't compile at all rather than throwing at runtime.
Fixes the ci_test_noimplicitconversions failure on #5269.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-07-11 23:42:29 +02:00
..
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00
2022-05-01 09:41:50 +02:00
2025-05-31 17:48:34 +02:00
2022-05-09 08:02:41 +02:00
2022-05-01 09:41:50 +02:00