Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Returns:;; The number of elements erased (0 or 1). Throws:;; Only throws an exception if it is thrown by返回值:;; 删除的元素数量(0 或 1)。抛出:;; 仅当 `hasher`
or或 `key_equal`. Notes:;; The `template<class K>` overload only participates in overload resolution if抛出异常时才会抛出异常。备注:;; `template<class k="">` 重载仅当 `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` 类型对象的开销。</class>