Niels Lohmann
aaf63cbff6
docs: state that NaN ordering inside containers depends on the standard
...
When the element-wise comparison of arrays or objects reaches a NaN and
a number (or another NaN) before any other difference, the result
depends on the language standard. Before C++20 the pair counts as
equivalent and the following elements (or the sizes) decide, so
[1] <= [NaN] is true. Since C++20 the comparison is unordered and
<, <=, >, >= all yield false. Document this on operator<, <=, >, >=
and <=>.
Signed-off-by: Niels Lohmann <mail@nlohmann.me >
2026-11-11 19:22:54 +01:00
..
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 17:15:55 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-26 18:25:46 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 17:16:08 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-11-02 17:48:43 +01:00
2026-11-09 08:12:00 +01:00
2026-10-27 07:41:42 +01:00
2026-11-02 17:48:29 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-07-04 11:13:25 +02:00
2026-10-27 07:41:42 +01:00
2026-11-11 19:22:54 +01:00
2026-11-11 19:22:54 +01:00
2026-11-11 19:22:54 +01:00
2026-11-11 19:22:54 +01:00
2026-10-27 07:41:42 +01:00
2026-11-11 19:22:54 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 17:15:55 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-11-09 08:12:00 +01:00
2026-10-29 07:37:33 +01:00
2026-11-04 17:46:20 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00
2026-10-27 07:41:42 +01:00