Skip to content

Commit d6d435a

Browse files
burblebeetkoeppe
authored andcommitted
LWG3713 Sorted with respect to comparator (only)
[alg.sorting.general] Add index for definition of a sequence sorted with respect to a comparator and projection
1 parent ab54e00 commit d6d435a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/algorithms.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6206,6 +6206,7 @@
62066206
\end{note}
62076207

62086208
\pnum
6209+
\indexdefn{sequence!sorted!with respect to a comparator and projection}%
62096210
A sequence is \term{sorted with respect to a \tcode{comp} and \tcode{proj}}
62106211
for a comparator and projection \tcode{comp} and \tcode{proj}
62116212
if for every iterator \tcode{i} pointing to the sequence and
@@ -6217,6 +6218,13 @@
62176218
\end{codeblock}
62186219
is \tcode{false}.
62196220

6221+
\pnum
6222+
\indexdefn{sequence!sorted!with respect to a comparator}%
6223+
A sequence is \term{sorted with respect to a comparator} \tcode{comp}
6224+
for a comparator \tcode{comp}
6225+
if it is sorted with respect to
6226+
\tcode{comp} and \tcode{identity\{\}} (the identity projection).
6227+
62206228
\pnum
62216229
A sequence \range{start}{finish} is
62226230
\term{partitioned with respect to an expression} \tcode{f(e)}

0 commit comments

Comments
 (0)