Skip to content

Commit add4df6

Browse files
burblebeetkoeppe
authored andcommitted
LWG4522 Clarify that std::format transcodes for std::wformat_strings
1 parent 061e643 commit add4df6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/text.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6446,7 +6446,9 @@
64466446
let \range{first}{last} be a range
64476447
large enough to hold the \tcode{to_chars} output
64486448
and \tcode{value} be the formatting argument value.
6449-
Formatting is done as if by calling \tcode{to_chars} as specified
6449+
Formatting is done as if by calling \tcode{to_chars} as specified,
6450+
transcoding the \tcode{to_chars} output to the wide literal encoding if
6451+
\tcode{charT} is \tcode{wchar_t},
64506452
and copying the output through the output iterator of the format context.
64516453
\begin{note}
64526454
Additional padding and adjustments are performed

0 commit comments

Comments
 (0)