Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Key
:1162Flags
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重载版本,则该引用为常量引用。