Compartir a través de


task::operator= Operator

Replaces the contents of one task object with another.

task& operator=(
   const task& _Other
);

task& operator=(
   task&& _Other
);

Parameters

  • _Other
    The source task object.

Remarks

As task behaves like a smart pointer, after a copy assignment, this task objects represents the same actual task as _Other does.

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task Class (Concurrency Runtime)