std::swap(std::multimap)

来自cppreference.com

 
 
 
std::multimap
成员函数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::multimap
multimap::~multimap
multimap::operator=
multimap::get_allocator
迭代器
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::begin
multimap::cbegin

(C++11)
multimap::end
multimap::cend

(C++11)
multimap::rbegin
multimap::crbegin

(C++11)
multimap::rend
multimap::crend

(C++11)
容量
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::erase
multimap::size
multimap::max_size
修饰符
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::clear
multimap::insert
multimap::emplace(C++11)
multimap::emplace_hint(C++11)
multimap::erase
multimap::swap
查找
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::count
multimap::find
multimap::equal_range
multimap::lower_bound
multimap::upper_bound
观察员
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
multimap::key_comp
multimap::value_comp
 

检查到模板循环:Template:page template

template<  >

void swap( multimap<> &lhs,

           multimap<> &rhs );
专为std::swapstd::multimap算法。 lhsrhs交换的内容。呼叫lhs.swap(rhs).
Original:
Specializes the std::swap algorithm for std::multimap. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目录

[编辑] 参数

lhs, rhs -
容器的内容交换
Original:
containers whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 返回值

(无)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 复杂性

Constant.

[编辑] 另请参阅

交换的内容
Original:
swaps the contents
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(公共成员函数) [edit]