Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
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_and_[c]visit(obj, f1, f2)`, the overloads accepting a `value_type&&` argument participate in overload resolution only if可移动插入^] 要求。返回:若执行了插入则返回 `true`。并发:在 `*this` 的 rehash 操作上阻塞。注意:如果执行了 rehash,则指向元素的指针和引用会失效。+ +在形式为 `insert_and_[c]visit(obj, f1, f2)` 的调用中,接受 `value_type&&` 参数的重载仅当 `std::remove_reference<decltype(obj)>::type`is为 `value_type`.时才参与重载决议。</decltype(obj)>