Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Key
:1240Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Inserts `obj` in the table if and only if there is no element in the table with an equivalent key, and then invokes `f1` with a non-const reference to the newly created element. Otherwise, invokes `f2` with a reference to the equivalent element; such reference is const iff a `*_cvisit` overload is used.当且仅当哈希表中不存在等价键的元素时,将`obj`插入表中,随后以非常量引用指向新创建的元素并调用`f1`。否则,以指向等价元素的引用调用`f2`;当且仅当使用`*_cvisit`重载版本时,该引用为常量引用。