Delen via


task::operator= Operator (C++ REST SDK)

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: pplxtasks.h

Namespace: pplx

See Also

Reference

task Class