Skip to content

Commit bf3838f

Browse files
burblebeetkoeppe
authored andcommitted
LWG4088 println ignores the locale imbued in std::ostream
1 parent b15fae7 commit bf3838f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6816,7 +6816,7 @@
68166816
\effects
68176817
Equivalent to:
68186818
\begin{codeblock}
6819-
print(os, "{}\n", format(fmt, std::forward<Args>(args)...));
6819+
print(os, "{}\n", format(os.getloc(), fmt, std::forward<Args>(args)...));
68206820
\end{codeblock}
68216821
\end{itemdescr}
68226822

0 commit comments

Comments
 (0)