Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
The size of the bucket array can be automatically increased by a call to `insert`/`emplace`, or as a result of calling `rehash`/`reserve`. The _load factor_ of the container (number of elements divided by number of buckets) is never greater than `max_load_factor()`, except possibly for small sizes where the implementation may decide to allow for higher loads.桶数组的大小可以通过调用 `insert`/`emplace` 自动增加,或者作为调用 `rehash`/`reserve` 的结果。容器的 _负载因子_(元素数量除以桶数量)永远不会大于 `max_load_factor()`,但在容器规模较小时,实现可能会允许更高的负载。