名前空間
変種
操作

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

From cppreference.com
 
 
 
 
 
void swap( function& other );
(Library Fundamentals TS)

*thisother に格納されている呼び出し可能なオブジェクトを交換します。

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

*this->get_memory_resource() != *other.get_memory_resource() の場合、動作は未定義です。

(Library Fundamentals TS)
(Library Fundamentals TS v3 まで)

this->get_allocator() != other.get_allocator() の場合、動作は未定義です。

(ライブラリ基本TS v3)

[編集] パラメータ

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

[編集] 戻り値

(なし)

English 日本語 中文(简体) 中文(繁體)