Skip to content

Commit

Permalink
P2510R3 Formatting pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer authored and tkoeppe committed Jul 21, 2023
1 parent 07f574a commit 0e87bd9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@
#define @\defnlibxname{cpp_lib_filesystem}@ 201703L // also in \libheader{filesystem}
#define @\defnlibxname{cpp_lib_flat_map}@ 202207L // also in \libheader{flat_map}
#define @\defnlibxname{cpp_lib_flat_set}@ 202207L // also in \libheader{flat_set}
#define @\defnlibxname{cpp_lib_format}@ 202207L // also in \libheader{format}
#define @\defnlibxname{cpp_lib_format}@ 202304L // also in \libheader{format}
#define @\defnlibxname{cpp_lib_format_ranges}@ 202207L // also in \libheader{format}
#define @\defnlibxname{cpp_lib_formatters}@ 202302L // also in \libheader{stacktrace}, \libheader{thread}
#define @\defnlibxname{cpp_lib_forward_like}@ 202207L // also in \libheader{utility}
Expand Down
9 changes: 7 additions & 2 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14866,7 +14866,7 @@

\begin{ncbnf}
\fmtnontermdef{type} \textnormal{one of}\br
\terminal{a A b B c d e E f F g G o p s x X ?}
\terminal{a A b B c d e E f F g G o p P s x X ?}
\end{ncbnf}

\pnum
Expand Down Expand Up @@ -15048,7 +15048,7 @@

\pnum
The \tcode{0} option is valid for arithmetic types
other than \tcode{charT} and \tcode{bool} or
other than \tcode{charT} and \tcode{bool}, pointer types, or
when an integer presentation type is specified.
For formatting arguments that have a value
other than an infinity or a NaN,
Expand Down Expand Up @@ -15408,6 +15408,11 @@
\end{codeblock}
with the prefix \tcode{0x} inserted immediately before the output of \tcode{to_chars};
otherwise, implementation-defined.
\\ \rowsep
\tcode{P} &
The same as \tcode{p},
except that it uses uppercase letters for digits above \tcode{9} and
the base prefix is \tcode{0X}.
\\
\end{floattable}

Expand Down

0 comments on commit 0e87bd9

Please sign in to comment.