task::operator= Operator

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic
Visual Studio 2012

Replaces the contents of one task object with another.

task& operator=(
   const task& _Other
);

task& operator=(
   task&& _Other
);
_Other

The source task object.

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

Header: ppltasks.h

Namespace: concurrency

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.