Skip to content

Commit aba95bf

Browse files
committed
LWG4448 Do not forward fn in completion_signatures
Fixes US 230-360 (C++26 CD).
1 parent 0ae7e4e commit aba95bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/exec.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6133,7 +6133,7 @@
61336133

61346134
template<class Fn>
61356135
static constexpr void @\exposid{for-each}@(Fn&& fn) { // \expos
6136-
(std::forward<Fn>(fn)(static_cast<Fns*>(nullptr)), ...);
6136+
(fn(static_cast<Fns*>(nullptr)), ...);
61376137
}
61386138
};
61396139

0 commit comments

Comments
 (0)