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:要求:;; `FwdIterator`is a https://en.cppreference.com/w/cpp/named_req/ForwardIterator[LegacyForwardIterator^] ({cpp}11 to {cpp}17), or satisfies https://en.cppreference.com/w/cpp/iterator/forward_iterator[std::forward_iterator^] ({cpp}20 and later). For是前向迭代器(C++11 至 C++17),或满足 C++20 及之后标准的 `std::forward_iterator` 概念。对于 `K
`=`std::iterator_traits<FwdIfwditerator>::value_type`, either,要么 `K`is是 `key_type`or else,要么 `Hash::is_transparent`and和 `Pred::is_transparent`are valid member typedefs. In the latter case, 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. Returns:;; The number of elements visited.类型调用,且 `Pred` 是透明的。这支持异构查找,避免了实例化 `Key` 类型对象的开销。返回值:;; 被访问的元素总数。</fwditerator>