diff --git a/docs/api_reference/src/quantities.tex b/docs/api_reference/src/quantities.tex index 6023b1ae8..93be56fd4 100644 --- a/docs/api_reference/src/quantities.tex +++ b/docs/api_reference/src/quantities.tex @@ -4430,10 +4430,7 @@ \pnum In the following descriptions, -let \tcode{@} be the \fakegrammarterm{operator}, and -let \placeholder{C} be -\tcode{std::\stdconcept{equality_comparable}} if \tcode{@} is \tcode{==}, and -\tcode{std::\stdconcept{three_way_comparable}} if \tcode{@} is \tcode{<=>}. +let \tcode{@} be the \fakegrammarterm{operator}. \indexlibrarymember{quantity}{operator==} \indexlibrarymember{quantity}{operator<=>} @@ -4447,6 +4444,11 @@ \end{itemdecl} \begin{itemdescr} +\pnum +Let \placeholder{C} be +\tcode{std::\stdconcept{equality_comparable}} if \tcode{@} is \tcode{==}, and +\tcode{std::\stdconcept{three_way_comparable}} if \tcode{@} is \tcode{<=>}. + \pnum \effects Equivalent to: @@ -4479,6 +4481,11 @@ \end{itemdecl} \begin{itemdescr} +\pnum +Let \placeholder{C} be +\tcode{std::\stdconcept{equality_comparable_with}} if \tcode{@} is \tcode{==}, and +\tcode{std::\stdconcept{three_way_comparable_with}} if \tcode{@} is \tcode{<=>}. + \pnum \returns \tcode{lhs.numerical_value_ref_in(unit) @ rhs}. @@ -5639,8 +5646,8 @@ \pnum Let \tcode{@} be the \fakegrammarterm{operator}, and let \placeholder{C} be -\tcode{std::\stdconcept{equality_comparable}} if \tcode{@} is \tcode{==}, and -\tcode{std::\stdconcept{three_way_comparable}} if \tcode{@} is \tcode{<=>}. +\tcode{std::\stdconcept{equality_comparable_with}} if \tcode{@} is \tcode{==}, and +\tcode{std::\stdconcept{three_way_comparable_with}} if \tcode{@} is \tcode{<=>}. \pnum \effects