Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Inserts an object, constructed with the arguments `args`, in the table 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若表中无等价键元素,则使用参数`args`构造对象并插入表中,随后以非常量引用指向新创建的元素并调用`f1`。否则,以指向等价元素的引用调用`f2`;当且仅当使用`emplace_and_cvisit`is used.时,该引用为常量引用。