Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Returns:;; The iterator returned is `end()` if `nh` is empty. If insertion took place, then the iterator points to the newly inserted element; otherwise, it points to the element with equivalent key. Throws:;; If an exception is thrown by an operation other than a call to `hasher` the function has no effect. Notes:;; Behavior is undefined if `nh` is not empty and the allocators of `nh` and the container are not equal.返回:如果 `nh` 为空,则返回的迭代器为 `end()`。如果插入发生,则迭代器指向新插入的元素;否则,指向具有等价键的元素。抛出:如果除调用 `hasher` 之外的操作抛出异常,则该函数无效果。
注意:如果 `nh` 非空且 `nh` 与容器的分配器不相等,则行为未定义。