Skip to content

Commit 9ffd955

Browse files
jensmaurertkoeppe
authored andcommitted
LWG3527 uses_allocator_construction_args handles rvalue pairs of rvalue references incorrectly
1 parent f2336c4 commit 9ffd955

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
@@ -7761,8 +7761,8 @@
77617761
Equivalent to:
77627762
\begin{codeblock}
77637763
return uses_allocator_construction_args<T>(alloc, piecewise_construct,
7764-
forward_as_tuple(std::move(pr).first),
7765-
forward_as_tuple(std::move(pr).second));
7764+
forward_as_tuple(get<0>(std::move(pr)),
7765+
forward_as_tuple(get<1>(std::move(pr)));
77667766
\end{codeblock}
77677767
\end{itemdescr}
77687768

0 commit comments

Comments
 (0)