Skip to content

Commit cf4caae

Browse files
jensmaurertkoeppe
authored andcommitted
LWG3539 format_to must not copy models of output_iterator<const charT&>
1 parent c953bef commit cf4caae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19949,7 +19949,7 @@
1994919949
Equivalent to:
1995019950
\begin{codeblock}
1995119951
using context = basic_format_context<Out, decltype(fmt)::value_type>;
19952-
return vformat_to(out, fmt, make_format_args<context>(args...));
19952+
return vformat_to(std::move(out), fmt, make_format_args<context>(args...));
1995319953
\end{codeblock}
1995419954
\end{itemdescr}
1995519955

@@ -19967,7 +19967,7 @@
1996719967
Equivalent to:
1996819968
\begin{codeblock}
1996919969
using context = basic_format_context<Out, decltype(fmt)::value_type>;
19970-
return vformat_to(out, loc, fmt, make_format_args<context>(args...));
19970+
return vformat_to(std::move(out), loc, fmt, make_format_args<context>(args...));
1997119971
\end{codeblock}
1997219972
\end{itemdescr}
1997319973

0 commit comments

Comments
 (0)