@@ -19979,24 +19979,23 @@
19979
19979
\end{floattable}
19980
19980
19981
19981
\pnum
19982
- Formatting of objects of non-string types
19983
- is done as if by calling \tcode{to_chars} (unless otherwise specified)
19982
+ The meaning of some non-string presentation types
19983
+ is defined in terms of a call to \tcode{to_chars}.
19984
+ In such cases,
19985
+ let \range{first}{last} be a range
19986
+ large enough to hold the \tcode{to_chars} output
19987
+ and \tcode{value} be the formatting argument value.
19988
+ Formatting is done as if by calling \tcode{to_chars} as specified
19984
19989
and copying the output through the output iterator of the format context.
19985
19990
\begin{note}
19986
19991
Additional padding and adjustments are performed
19987
19992
prior to copying the output through the output iterator
19988
19993
as specified by the format specifiers.
19989
19994
\end{note}
19990
19995
19991
- \pnum
19992
- Let \range{first}{last} be a range
19993
- large enough to hold the \tcode{to_chars} output
19994
- and \tcode{value} be the formatting argument value.
19995
-
19996
19996
\pnum
19997
19997
The available integer presentation types
19998
- for integral types other than \tcode{bool} and \tcode{charT},
19999
- and their mapping to \tcode{to_chars},
19998
+ for integral types other than \tcode{bool} and \tcode{charT}
20000
19999
are specified in \tref{format.type.int}.
20001
20000
\begin{example}
20002
20001
\begin{codeblock}
20101
20100
\end{floattable}
20102
20101
20103
20102
\pnum
20104
- The available floating-point presentation types and their mapping to
20105
- \tcode{to_chars} ( for values other than infinity and NaN) are
20103
+ The available floating-point presentation types and their meanings
20104
+ for values other than infinity and NaN are
20106
20105
specified in \tref{format.type.float}.
20106
+ For lower-case presentation types, infinity and NaN are formatted as
20107
+ \tcode{inf} and \tcode{nan}, respectively.
20108
+ For upper-case presentation types, infinity and NaN are formatted as
20109
+ \tcode{INF} and \tcode{NAN}, respectively.
20110
+ \begin{note}
20111
+ In either case, a sign is included
20112
+ if indicated by the \fmtgrammarterm{sign} option.
20113
+ \end{note}
20107
20114
%
20108
20115
\begin{floattable}{Meaning of \fmtgrammarterm{type} options for floating-point types}{format.type.float}{lp{.8\hsize}}
20109
20116
\topline
20182
20189
\\
20183
20190
\end{floattable}
20184
20191
20185
- \pnum
20186
- For lower-case presentation types, infinity and NaN are formatted as
20187
- \tcode{inf} and \tcode{nan}, respectively.
20188
- For upper-case presentation types, infinity and NaN are formatted as
20189
- \tcode{INF} and \tcode{NAN}, respectively.
20190
- \begin{note}
20191
- In either case, a sign is included
20192
- if indicated by the \fmtgrammarterm{sign} option.
20193
- \end{note}
20194
-
20195
20192
\pnum
20196
20193
The available pointer presentation types and their mapping to
20197
20194
\tcode{to_chars} are specified in \tref{format.type.ptr}.
0 commit comments