Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Key
:1235Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Requires:要求:;; `value_type`is可基于 `k` 满足 https://en.cppreference.com/w/cpp/named_req/EmplaceConstructible[EmplaceConstructible^]from `k`. Returns:;; `true` if an insert took place. Concurrency:;; Blocking on rehashing of `*this`. Notes:;; These overloads only participate in overload resolution if。返回值:;; 插入成功则返回 `true`。
并发特性:;; 会阻塞 `*this` 的重哈希操作。
注意:;; 仅当 `Hash::is_transparent`
and与 `Pred::is_transparent`are valid member typedefs. The library assumes that `Hash` is callable with both为合法成员类型别名时,此类重载函数才参与重载决议。本库假定 `Hash` 可接收 `K`and与 `Key`and that `Pred` is transparent. This enables heterogeneous lookup which avoids the cost of instantiating an instance of the `Key` type.两种类型进行调用,且 `Pred` 具备透明特性。该特性支持异构查找,省去了实例化 `Key` 类型对象的开销。