cpp/thread/promise/swap

Exchanges the shared states of two promise objects.

Return value
(none)