Files
json/tests
Niels Lohmann 0e535ba3bc Extend std::optional null regression coverage (assignment, get_to)
Adds two cases to the existing null-handling regression test for
std::optional<T>: assignment (opt = json_null) throws for the same
reason as direct construction, and get_to() correctly yields
std::nullopt. Prompted by a review comment on #5246 asking for a
fuller regression matrix; construction and get<optional<T>>() were
already covered by #5247.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-07-11 18:49:11 +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