共用方式為


completion_future::operator= Operator

Copies the contents of the specified completion_future object into this one.

completion_future& operator=(
   const completion_future& _Other
);

completion_future& operator=(
   completion_future&& _Other
);

Parameters

  • _Other
    The object to copy from.

Return Value

A reference to this completion_future object.

Overloads List

Name

Description

completion_future& operator=(const completion_future& _Other);

Copies the contents of the specified completion_future object into this one, using a deep copy.

completion_future& operator=(completion_future&& _Other);

Copies the contents of the specified completion_future object into this one, using a move assignment.

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

completion_future Class