r163178 - in /trunk/libstdc++-v3: ChangeLog inc...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Wed Aug 11 23:59:00 GMT 2010
Author: paolo
Date: Wed Aug 11 23:59:35 2010
New Revision: 163178
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163178
Log:
2010-08-11 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/hashtable.h (_Hashtable<>::erase(const key_type&)):
Use std::__addressof.
* include/bits/forward_list.tcc (forward_list<>::remove): Deal
correctly with &__tmp->_M_value == &__val.
* testsuite/23_containers/forward_list/operations/remove_freed.cc:
New.
Added:
trunk/libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/forward_list.tcc
trunk/libstdc++-v3/include/bits/hashtable.h
More information about the Libstdc++-cvs
mailing list