std::promise<R>::swap
Min standard notice:
Exchanges the shared states of two promise objects.
# Declarations
void swap( promise& other ) noexcept;
(since C++11)
# Parameters
other: the promise to swap with
# Return value
(none)
# Example
This section is incompleteReason: no example