std::experimental::function<R(Args...)>::swap
From cppreference.com
< cpp | experimental | function
| void swap( function& other ); |
(Library Fundamentals TS) | |
*this と other に格納されている呼び出し可能なオブジェクトを交換します。
*this と other のアロケータは交換されません。
|
*this->get_memory_resource() != *other.get_memory_resource() の場合、動作は未定義です。 |
(Library Fundamentals TS) (Library Fundamentals TS v3 まで) |
|
this->get_allocator() != other.get_allocator() の場合、動作は未定義です。 |
(ライブラリ基本TS v3) |
[編集] パラメータ
| その他 | - | 格納されている呼び出し可能オブジェクトを交換する関数ラッパー |
[編集] 戻り値
(なし)