Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
so as to not exceed the maximum load factor. + Because the maximum load factor is defined as the number of elements divided by the total number of available buckets, this function is logically equivalent to: + ```以确保不超过最大负载因子。由于最大负载因子定义为元素数量除以可用桶的总数,该函数在逻辑上等价于:```cppx.rehash(std::ceil(n / x.max_load_factor()))
```+ See the有关 `rehash` 函数的更多详细信息,请参阅 xref:reference/unordered_map.adoc#unordered_map_rehash[
reference for more details] on the `rehash` function.参考文档]。