cancellation_token_source::operator= Operator
Replaces the contents of one cancellation_token_source object with another.
cancellation_token_source& operator=(
const cancellation_token_source& _Src
);
cancellation_token_source& operator=(
cancellation_token_source&& _Src
);
Parameters
- _Src
The source cancellation_token_source object.
Remarks
As cancellation_token_source behaves like a smart pointer, after a copy assignment. this object represents the same token source as _Src does.
Requirements
Header: ppl.h
Namespace: concurrency