Skip to content

Commit 79dcca8

Browse files
cpplearnertkoeppe
authored andcommitted
[range.utility.conv.general] Fix misapplication of LWG4016 (#6932)
1 parent 0211a3d commit 79dcca8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/ranges.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -2268,10 +2268,10 @@
22682268
\end{codeblock}
22692269

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

0 commit comments

Comments
 (0)