------- Comment #13 from paolo at gcc dot gnu dot org 2010-08-31 17:40 ------- Subject: Bug 44480
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.carl...@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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44480