Add quick_erase to the unordered containers. Refs #3966.

[SVN r60754]
This commit is contained in:
Daniel James
2010-03-22 00:42:07 +00:00
parent 1d02663275
commit ee034e23bb
5 changed files with 155 additions and 28 deletions

View File

@@ -369,6 +369,11 @@ namespace boost
return iterator(table_.erase_range(get(first), get(last)));
}
void quick_erase(const_iterator position)
{
table_.erase(get(position));
}
void erase_return_void(const_iterator position)
{
table_.erase(get(position));
@@ -907,6 +912,11 @@ namespace boost
return iterator(table_.erase_range(get(first), get(last)));
}
void quick_erase(const_iterator position)
{
table_.erase(get(position));
}
void erase_return_void(const_iterator position)
{
table_.erase(get(position));