swap (非メンバ関数) -- functional: P0288R9 move_only_function追加(#1056)

1 · cpprefjp · Jan. 23, 2023, 11:34 a.m.
diff --git a/reference/functional/move_only_function/swap_free.md b/reference/functional/move_only_function/swap_free.md new file mode 100644 index 000000000..9404837ff --- /dev/null +++ b/reference/functional/move_only_function/swap_free.md @@ -0,0 +1,67 @@ +# swap (非メンバ関数) +* functional[meta header] +* std[meta namespace] +* move_only_function[meta class] +* function template[meta id-type] +* cpp23[meta cpp] + +```cpp +friend void swap(move_only_function& f1, move_only_function& f2) noexcept; ...