BIMHome v1.0.0
BIMHome接口文档说明

◆ 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
返回
插入位置的迭代器