Standard C++ Library Reference ISO/IEC (VERSION3)
swap
template<class Key, class Ty, class Pr, class Alloc>
void swap(
map <Key, Ty, Pr, Alloc>& left,
map <Key, Ty, Pr, Alloc>& right);
template<class Key, class Ty, class Pr, class Alloc>
void swap(
multimap <Key, Ty, Pr, Alloc>& left,
multimap <Key, Ty, Pr, Alloc>& right);
The template function executes left.swap(right).
See also the Table of Contents and the Index.
Copyright © 1994-2001 by P.J. Plauger. Portions derived from work copyright © 1994 by
Hewlett-Packard Company. All rights reserved.