Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Returns:;; The maximum number of elements the table can hold without rehashing, assuming that no further elements will be erased. Note:;; After construction, rehash or clearance, the table's maximum load is at least `max_load_factor() * bucket_count()`. This number may decrease on erasure under high-load conditions. + + In the presence of concurrent insertion operations, the value returned may not accurately reflect the true state of the table right after execution.返回值:;; 表在不进行重哈希的情况下可容纳的最大元素数量(假设不会再删除任何元素)。注意:;; 构造、重哈希或清空后,表的最大装载量至少为 `max_load_factor() * bucket_count()`。在高负载条件下执行删除操作时,该数值可能会降低。
在存在并发插入操作的情况下,返回的值可能无法精确反映执行后容器的真实状态。