BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
LinkedHashMap
_map_citr
_map_itr
_map_key2entry
_size
_values
begin
begin
clear
const_iterator
empty
end
end
EntryType
erase
erase
find
find
HashMap
insert
insert
iterator
operator==
operator[]
size
◆
insert()
[2/2]
template<class KeyType , class MappedType , class Hash = std::hash<KeyType>, class Pred = std::equal_to<KeyType>>
iterator
insert
(
const_iterator
it
,
const
EntryType
&
new_entry
)
在 map 中指定位置插入一个新 entry
如果键已存在,则更新其值;否则,插入新 entry。
参数
[in]
it
指定位置的迭代器
[in]
new_entry
待添加的 entry
返回
插入位置的迭代器