Freigeben über


promise::swap Method

Exchanges the associated asynchronous state of this promise object with that of a specified object.

void swap(promise& Other) _NOEXCEPT;

Parameters

  • Other
    A promise object.

Requirements

Header: future

Namespace: std

See Also

Reference

promise Class

<future>