Namespaces
Variants

std::experimental::function<R(Args...)>:: swap

From cppreference.net
void swap ( function & other ) ;
(ライブラリファンダメンタルTS)

* this other の格納された呼び出し可能オブジェクトを交換します。

* this other のアロケータは交換されません。

The behavior is undefined if * this - > get_memory_resource ( ) ! = * other. get_memory_resource ( ) .

(library fundamentals TS)
(until library fundamentals TS v3)

The behavior is undefined if this - > get_allocator ( ) ! = other. get_allocator ( ) .

(library fundamentals TS v3)

パラメータ

その他 - 格納された呼び出し可能オブジェクトを交換するための関数ラッパー

戻り値

(なし)