Skip to content

Commit

Permalink
[range.utility.conv.general] Fix misapplication of LWG4016 (#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpplearner authored and tkoeppe committed Apr 19, 2024
1 parent 0211a3d commit 79dcca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/ranges.tex
Expand Up @@ -2268,10 +2268,10 @@
\end{codeblock}

\pnum
Let \exposid{container-appendable} be defined as follows:
Let \exposid{container-append} be defined as follows:
\begin{codeblock}
template<class Ref, class Container>
constexpr auto @\exposid{container-appendable}@(Container& c) { // \expos
template<class Container>
constexpr auto @\exposid{container-append}@(Container& c) { // \expos
return [&c]<class Ref>(Ref&& ref) {
if constexpr (requires { c.emplace_back(declval<Ref>()); })
c.emplace_back(std::forward<Ref>(ref));
Expand Down

0 comments on commit 79dcca8

Please sign in to comment.