Partager via


future::operator= Operator

Transfers an associated asynchronous state from a specified object.

future& operator=(
   future&& Right
) _NOEXCEPT;

Parameters

  • Right
    A future object.

Return Value

*this

Remarks

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

Requirements

Header: future

Namespace: std

See Also

Reference

future Class

<future>