共用方式為


cancellation_token_source::operator= 運算子

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

cancellation_token_source& operator=(
   const cancellation_token_source& _Src
);

cancellation_token_source& operator=(
   cancellation_token_source&& _Src
);

參數

  • _Src
    來源 cancellation_token_source 物件。

備註

cancellation_token_source後複製作業的行為就像的智慧型指標。 此物件代表相同的語彙基元來源_Src不會。

需求

標頭: ppl.h

Namespace: 並行存取

請參閱

參考

cancellation_token_source 類別