diff --git a/source/support.tex b/source/support.tex index 455ae22e5c..af234fee20 100644 --- a/source/support.tex +++ b/source/support.tex @@ -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} diff --git a/source/utilities.tex b/source/utilities.tex index 02efe320ba..942af1431c 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -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 @@ -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, @@ -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}