次の方法で共有


cancellation_token_registration::operator= 演算子

別ので cancellation_token_registration の 1 種類のオブジェクトの内容を置き換えます。

cancellation_token_registration& operator=(
   const cancellation_token_registration& _Src
);

cancellation_token_registration& operator=(
   cancellation_token_registration&& _Src
);

パラメーター

  • _Src
    ソース cancellation_token_registration オブジェクト。

解説

cancellation_token_registration がスマート ポインターのように動作すると、コピーの代入が、これ _Srcが表す実際は同じオブジェクトを登録したら。

必要条件

ヘッダー: ppl.h

名前空間: の同時実行

参照

関連項目

cancellation_token_registration クラス