Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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