std::promise<R>::swap

Exchanges the shared states of two promise objects.

# Declarations

void swap( promise& other ) noexcept;

(since C++11)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also