From 5b420be2a0a09cbf9224be67a09aa735b7889959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Thu, 28 Nov 2024 07:13:15 -0400 Subject: [PATCH] [quantities] Update `representation_values` --- docs/api_reference/src/quantities.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api_reference/src/quantities.tex b/docs/api_reference/src/quantities.tex index 34697acc9..6c45ca796 100644 --- a/docs/api_reference/src/quantities.tex +++ b/docs/api_reference/src/quantities.tex @@ -452,10 +452,10 @@ template constexpr bool is_tensor = false; -// \ref{qty.val.traits}, quantity values +// \ref{qty.val.traits}, values template -struct quantity_values; +struct representation_values; // \ref{qty.rep.cpos}, customization point objects @@ -3447,17 +3447,17 @@ and have type \tcode{const bool}. \end{itemdescr} -\rSec3[qty.val.traits]{Quantity values} +\rSec3[qty.val.traits]{Values} \pnum -\tcode{quantity} and \tcode{quantity_point} use \tcode{quantity_values} +\tcode{quantity} and \tcode{quantity_point} use \tcode{representation_values} to construct special values of its representation type. \begin{codeblock} namespace mp_units { template -struct @\libglobal{quantity_values}@ : std::chrono::duration_values { +struct @\libglobal{representation_values}@ : std::chrono::duration_values { static constexpr Rep one() noexcept; }; @@ -3466,7 +3466,7 @@ \pnum The requirements on \tcode{std::chrono::duration_values}\irefcpp{time.traits.duration.values} -also apply to \tcode{quantity_values}. +also apply to \tcode{representation_values}. \begin{itemdecl} static constexpr Rep one() noexcept; @@ -4155,13 +4155,13 @@ \pnum \returns -\tcode{\{quantity_values::\placeholdernc{F}(), R\}}. +\tcode{\{representation_values::\placeholdernc{F}(), R\}}. \pnum \remarks The expression in the \fakegrammarterm{requires-clause} is equivalent to: \begin{codeblock} -requires { quantity_values::@\placeholdernc{F}@(); } +requires { representation_values::@\placeholdernc{F}@(); } \end{codeblock} \end{itemdescr} @@ -4574,7 +4574,7 @@ \expects If \tcode{@} is \tcode{\%=} or \tcode{/=}, then \begin{codeblock} -@\placeholdernc{TO-NUMERICAL-VALUE}@(rhs) != quantity_values::zero() +@\placeholdernc{TO-NUMERICAL-VALUE}@(rhs) != representation_values::zero() \end{codeblock} is \tcode{true}.