Example #1
0
void swap( promise< R > & l, promise< R > & r) noexcept {
    l.swap( r);
}
Example #2
0
File: main.cpp Project: CCJY/coliru
void swap(promise<T>& lhs, promise<T>& rhs)
{
    lhs.swap(rhs);
}