Non-member swap#
template <typename T, typename Allocator>
void swap( concurrent_queue<T, Allocator>& lhs,
concurrent_queue<T, Allocator>& rhs );
Equivalent to lhs.swap(rhs)
.
template <typename T, typename Allocator>
void swap( concurrent_queue<T, Allocator>& lhs,
concurrent_queue<T, Allocator>& rhs );
Equivalent to lhs.swap(rhs)
.