r163686 - in /trunk/libstdc++-v3: ChangeLog inc...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Tue Aug 31 17:39:00 GMT 2010
Author: paolo
Date: Tue Aug 31 17:39:51 2010
New Revision: 163686
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163686
Log:
2010-08-31 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/44480
* include/bits/hashtable.h (_Hashtable<>::_M_begin_bucket_index):
Add, caching the index of the first non-empty bucket.
(begin, cbegin): Use it.
(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, ...),
_Hashtable(const _Hashtable&), _Hashtable(_Hashtable&&),
swap(_Hashtable&), clear): Adjust.
(_M_insert_bucket, _M_insert, erase(const_iterator),
erase(const key_type&), _M_rehash): Update it.
* include/bits/hashtable.h (_Hashtable<>::_M_erase): Remove.
(erase(const_iterator)): Inline the latter.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable.h
More information about the Libstdc++-cvs
mailing list