[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/container/map/swap2 [Back]  [Original]

std::swap(std::map) cppreference.com
cppreference.com

std::swap(std::map)

cppreference.com

<metanoindex/>

<tbody> </tbody>
template< class Key, class T, class Compare, class Alloc > void swap( map<Key,T,Compare,Alloc>& lhs, map<Key,T,Compare,Alloc>& rhs );
std::swap std::map. lhs rhs. lhs.swap(rhs).
:
Specializes the std::swap algorithm for std::map. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).
Google.
. .

lhs, rhs
,
:
containers whose contents to swap
Google.
. .

()

.

.


(public -) []

Web Proxy Viewer  |  New URL  |  Original Page