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`
,、键比较函数`key_equal`or `f`. Notes:;; `f` is passed a non-const reference to `x`. + + The `template<class K, class F>` overload only participates in overload resolution if或函数`f`抛出异常时才会抛出异常。说明:`f`接收元素`x`的非常量引用。
仅当`std::is_execution_policy_v<std::remove_cvref_t<
EexecutionPpolicy>>` is>`为`false`. + + The时,`template<classK,k,="" classF>` overload only participates in overload resolution if="" f="">`重载版本才参与重载决议。仅当`Hash::is_transparent`
and和`Pred::is_transparent`are valid member typedefs. The library assumes that `Hash` is callable with both `K` and `Key` and that `Pred` is transparent. This enables heterogeneous lookup which avoids the cost of instantiating an instance of the `Key` type.为有效的成员类型别名时,`template<class k,="" class="" f="">`重载版本才参与重载决议。库假定`Hash`可同时接受`K`与`Key`类型的参数调用,且`Pred`是透明的。该设计支持异构查找,避免了实例化`Key`类型对象的开销。</class></class></std::remove_cvref_t<executionpolicy>