Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Requires:;; `要求:value_type` is满足 https://en.cppreference.com/w/cpp/named_req/MoveInsertable[MoveInsertable^]. Returns:;; `true` if an insert took place. + Concurrency:;; Blocking on rehashing of `*this`. Notes:;; Invalidates pointers and references to elements if a rehashing is issued. + + In a call of the form `insert_or_[c]visit(obj, f)`, the overloads accepting a `value_type&&` argument participate in overload resolution only if `可移动插入] 要求。返回值:插入成功则返回 true。
并发:在当前对象 *this 执行重哈希期间阻塞。
说明:触发重哈希时,会使指向元素的指针和引用失效。
调用形式为 insert_or_[c]visit(obj, f) 时,仅当 std::remove_reference<decltype(obj)>::type
` is `类型为 value_type`.,接收 value_type&& 参数的重载函数才会参与重载决议。</decltype(obj)>