Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Key
:999Flags
safe-html, strict-same
Throws:;; Only throws an exception if it is thrown by抛出:仅当 `hasher`or或 `key_equal`. + + In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations. Notes:;; This method was implemented because returning an iterator to the next element from erase was expensive, but the container has been redesigned so that is no longer the case. So this method is now deprecated.抛出异常时才会抛出。在此实现中,此重载不会调用任何函数对象的方法,因此不会抛出异常,但这在其他实现中可能并不成立。
注意:引入此方法是因为从 `erase` 返回指向下一个元素的迭代器成本较高,但容器已经过重新设计,不再存在这种情况。因此,此方法现已弃用。