Compartir a través de


packaged_task::operator= Operator

Transfers the associated asynchronous state from a specified object.

packaged_task& operator=(packaged_task&& Right);

Parameters

  • Right
    A packaged_task object.

Return Value

*this

Remarks

After the operation, Right no longer has an associated asynchronous state.

Requirements

Header: future

Namespace: std

See Also

Reference

packaged_task Class

<future>