diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-31 17:39:51 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-31 17:39:51 +0000 |
commit | c61794d6be23943b09b6ab2b98d723c75ab5ffcb (patch) | |
tree | abf771e125f7ff3903e8b48ccac872d9b91c645d /gcc/config/m32c | |
parent | bab5ca7967b7b6840ae8094afd271e4459f41d68 (diff) | |
download | gcc-c61794d6be23943b09b6ab2b98d723c75ab5ffcb.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163686 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c')
0 files changed, 0 insertions, 0 deletions