共用方式為


cancellation_token_registration::operator= 運算子

其中一個內容取代cancellation_token_registration與另一個物件。

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

Namespace: 並行存取

請參閱

參考

cancellation_token_registration 類別