Created on 2022-06-10.00:00:00 last changed 5 days ago
This wording is relative to N4910.
Modify [alg.sorting.general] as indicated:
-5- A sequence is sorted with respect to a comp and proj for a comparator and projection comp and proj if for every iterator i pointing to the sequence and every non-negative integer n such that i + n is a valid iterator pointing to an element of the sequence,bool(invoke(comp, invoke(proj, *(i + n)), invoke(proj, *i)))
[ 2022-06-21; Reflector poll ]
Set status to Tentatively Ready after eight votes in favour during reflector poll.
P0896R4 changed the term of art "sorted with respect to comparator" defined in [alg.sorting.general] paragraph 5 to "sorted with respect to comparator and projection." That proposal updated the algorithm specifications consistently. However, there were uses of the old term outside of [algorithms] that are now without meaning. We should bring back the term "sorted with respect to comparator" to fix that lack.
|2022-06-21 11:47:28||admin||set||messages: + msg12524|
|2022-06-21 11:47:28||admin||set||status: new -> ready|
|2022-06-11 17:55:34||admin||set||messages: + msg12497|