Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
It is not specified how member functions other than标准未明确规定除 `rehash`and和 `reserve`affect the bucket count, although `insert` can only invalidate iterators when the insertion causes the container's load to be greater than the maximum allowed. For most implementations this means that `insert` will only change the number of buckets when this happens. Iterators can be invalidated by calls to之外的成员函数如何影响桶数量,但 `insert` 操作仅当导致容器负载超过最大允许值时才会使迭代器失效。在大多数实现中,这意味着 `insert` 仅在此种情况下才会改变桶的数量。迭代器可能因调用 `insert`,、 `rehash`and或 `reserve`.而失效。