r195520 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Mon Jan 28 23:07:00 GMT 2013
Author: redi
Date: Mon Jan 28 23:07:35 2013
New Revision: 195520
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195520
Log:
PR libstdc++/56112
* include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
to construct value_type explicitly before trying to extract the key.
* testsuite/23_containers/unordered_map/cons/56112.cc: New.
Added:
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable_policy.h
More information about the Libstdc++-cvs
mailing list