Example #1
0
inline void swap(unique_lock<Mutex>& lhs, unique_lock<Mutex>& rhs) noexcept {
  lhs.swap(rhs);
}
Example #2
0
inline
void swap(unique_lock<MutexT>& x, unique_lock<MutexT>& y) noexcept
{
    x.swap(y);
}