std::swap(std::priority_queue)
std::swap(std::priority_queue)
template< class T, class Container, class Compare > void swap( priority_queue<T,Container,Compare>& lhs, priority_queue<T,Container,Compare>& rhs ); | (until C++17) | |
template< class T, class Container, class Compare > void swap( priority_queue<T,Container,Compare>& lhs, priority_queue<T,Container,Compare>& rhs ) noexcept(/* see below */); | (since C++17) |
Specializes the 登录查看完整内容