r178423 - in /trunk/libstdc++-v3: ChangeLog inc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Thu Sep 1 15:45:00 GMT 2011


Author: paolo
Date: Thu Sep  1 15:45:20 2011
New Revision: 178423

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178423
Log:
2011-09-01  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
	Remove noexcept, the move constructor allocates memory; rearrange
	the code in the body to consistently update __ht._M_rehash_policy
	before using _M_next_bkt on it.
	* include/debug/unordered_map: Adjust.
	* include/debug/unordered_set: Likewise.
	* include/profile/unordered_map: Likewise.
	* include/profile/unordered_set: Likewise.
	* testsuite/23_containers/unordered_map/cons/
	noexcept_move_construct.cc: Remove.
	* testsuite/23_containers/unordered_set/cons/
	noexcept_move_construct.cc: Likewise.
	* testsuite/23_containers/unordered_multimap/cons/
	noexcept_move_construct.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/cons/
	noexcept_move_construct.cc: Likewise.

Removed:
    trunk/libstdc++-v3/testsuite/23_containers/unordered_map/cons/noexcept_move_construct.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/noexcept_move_construct.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_move_construct.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_move_construct.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/hashtable.h
    trunk/libstdc++-v3/include/debug/unordered_map
    trunk/libstdc++-v3/include/debug/unordered_set
    trunk/libstdc++-v3/include/profile/unordered_map
    trunk/libstdc++-v3/include/profile/unordered_set



More information about the Gcc-cvs mailing list