diff options
author | Marc Mutz <[email protected]> | 2022-07-18 11:20:56 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2022-07-20 11:15:58 +0000 |
commit | 25de37381de37dab191bda85e6f1c2d172e6092e (patch) | |
tree | 3b6ccfb7ba123df2cb1755e022fe6bef9163d1c0 /src/concurrent/qtconcurrentreducekernel.h | |
parent | 3174f44579ac448198c02518d42d9eff48c1ed75 (diff) |
QLocale/Win: statically assert that is_sorted(windows_to_iso_list)
Consequently, remove the corresponding comment.
Need to mark the array as constexpr in order to run q20::is_sorted on
it.
Instead of overloading op< (which would be wrong, because there's no
one natural ordering of these entries), write the idiomatic manual
mixed-mode comparator By<FieldName> and use that. A follow-up commit
will use the same function object to replace the hand-written binary
search with a call to lower_bound().
Task-number: QTBUG-103721
Change-Id: I47743b5620dc3cece73b2e5bae658d5a636554dd
Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/concurrent/qtconcurrentreducekernel.h')
0 files changed, 0 insertions, 0 deletions