Skip to content

Commit 5d4d8ff

Browse files
burblebeetkoeppe
authored andcommitted
LWG4448 Do not forward fn in completion_signatures
Fixes NB US 230-360 (C++26 CD).
1 parent 05fc3e5 commit 5d4d8ff

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
@@ -6129,7 +6129,7 @@
61296129

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

0 commit comments

Comments
 (0)