Share via


cancellation_token_registration::operator= Operator

Replaces the contents of one cancellation_token_registration object with another.

cancellation_token_registration& operator=(
   const cancellation_token_registration& _Src
);

cancellation_token_registration& operator=(
   cancellation_token_registration&& _Src
);

Parameters

  • _Src
    The source cancellation_token_registration object.

Remarks

As cancellation_token_registration behaves like a smart pointer, after a copy assignment, this objects represents the same actual registration as _Src.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token_registration Class