Skip to content

Commit ba4bb3e

Browse files
authored
[format.functions] Add "std::move" around "out" (#5069)
This fixes a misapplication of the resolution of LWG 3539.
1 parent 5475bda commit ba4bb3e

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
@@ -21506,7 +21506,7 @@
2150621506
\effects
2150721507
Equivalent to:
2150821508
\begin{codeblock}
21509-
return vformat_to(out, fmt.@\exposid{str}@, make_format_args(args...));
21509+
return vformat_to(std::move(out), fmt.@\exposid{str}@, make_format_args(args...));
2151021510
\end{codeblock}
2151121511
\end{itemdescr}
2151221512

@@ -21536,7 +21536,7 @@
2153621536
\effects
2153721537
Equivalent to:
2153821538
\begin{codeblock}
21539-
return vformat_to(out, loc, fmt.@\exposid{str}@, make_format_args(args...));
21539+
return vformat_to(std::move(out), loc, fmt.@\exposid{str}@, make_format_args(args...));
2154021540
\end{codeblock}
2154121541
\end{itemdescr}
2154221542

0 commit comments

Comments
 (0)