Skip to content
Snippets Groups Projects
Commit 66b432fd authored by François Dumont's avatar François Dumont
Browse files

re PR libstdc++/51866 ([c++0x][4.7 Regression] unordered_multiset compares moved-out values)


2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
	    Roman Kononov  <roman@binarylife.net>

	PR libstdc++/51866
	* include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
	Do not keep a reference to a potentially moved instance.
	* testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
	* testsuite/23_containers/unordered_multimap/insert/51866.cc: New.

Co-Authored-By: default avatarRoman Kononov <roman@binarylife.net>

From-SVN: r183285
parent 9ffaf4bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment