Skip to content

Commit eee0ae9

Browse files
committed
コンストラクタ引数の誤りを修正
1 parent 19bc6ae commit eee0ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/functional/function/op_constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function(function&& f); // (4) C++17まで
1414
function(function&& f) noexcept; // (4) C++20
1515

1616
template <class F>
17-
function(F f); // (5)
17+
function(F&& f); // (5)
1818

1919
template <class Alloc>
2020
function(allocator_arg_t, const Alloc& alloc) noexcept; // (6) C++17で削除

0 commit comments

Comments
 (0)