Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Returns:;; The number of elements erased. Throws:;; Only throws an exception if it is thrown by返回:;; 被删除的元素数量。抛出:;; 仅当由 `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 and neither是有效的成员 typedef,并且 `K` 不能隐式转换为 `iterator`nor或 `const_iterator`are implicitly convertible from `K`. 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>