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/CopyInsertable[CopyInsertable^]. Returns:;; `true` if an insert took place. + Concurrency:;; Blocking on rehashing of `*this`. Notes:;; In a call of the form `insert_or_[c]visit(obj, f)`, the overloads accepting a `const value_type&` argument participate in overload resolution only if要求。返回值:;; 成功执行插入操作则返回 `true`。
并发特性:;; 对当前对象执行重哈希操作时会发生阻塞。
注意:;; 在形式为 `insert_or_[c]visit(obj, f)` 的调用中,仅当 `std::remove_cv<std::remove_reference<decltype(obj)>::type
>>::type`is `value_type`.为 `value_type` 时,接受 `const value_type&` 参数的重载版本才会参与重载决议。</std::remove_reference<decltype(obj)>