Skip to content

Commit

Permalink
[allocator.uses.construction] Give a name to generic lambda type
Browse files Browse the repository at this point in the history
parameter to allow idiomatic use of std::forward.
  • Loading branch information
Dawn Perchik authored and zygoloid committed Feb 27, 2020
1 parent de58af8 commit 090d7d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7614,8 +7614,8 @@
\effects
Equivalent to:
\begin{codeblock}
return apply([&](auto&&...xs) {
return construct_at(p, std::forward<decltype(xs)>(xs)...);
return apply([&]<class... U>(U&&... xs) {
return construct_at(p, std::forward<U>(xs)...);
}, uses_allocator_construction_args<T>(alloc, std::forward<Args>(args)...));
\end{codeblock}
\end{itemdescr}
Expand Down

0 comments on commit 090d7d8

Please sign in to comment.