Skip to content

Commit 57de3af

Browse files
Quuxplusonezygoloid
authored andcommitted
[comparisons] Fix a typo in the note for std::less. (#2089)
1 parent 61b6c21 commit 57de3af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13624,8 +13624,8 @@
1362413624
the built-in operators \tcode{<}, \tcode{>}, \tcode{<=}, \tcode{>=}.
1362513625
\begin{note} When \tcode{a < b} is well-defined
1362613626
for pointers \tcode{a} and \tcode{b} of type \tcode{P},
13627-
this implies \tcode{(a < b) == less<P>(a, b)},
13628-
\tcode{(a > b) == greater<P>(a, b)}, and so forth. \end{note}
13627+
this implies \tcode{(a < b) == less<P>()(a, b)},
13628+
\tcode{(a > b) == greater<P>()(a, b)}, and so forth. \end{note}
1362913629
For template specializations \tcode{less<void>}, \tcode{greater<void>},
1363013630
\tcode{less_equal<void>}, and \tcode{greater_equal<void>},
1363113631
if the call operator calls a built-in operator comparing pointers,

0 commit comments

Comments
 (0)