diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2013-01-28 23:07:35 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2013-01-28 23:07:35 +0000 |
commit | 0addb273c56bbb0a0947b54b2a7da07633499009 (patch) | |
tree | f5124536b73826188586d631bda8a6d413ffffa1 /gcc | |
parent | 5b3be7cf99e5b833c073c119be2b60c84db7ec35 (diff) | |
download | gcc-0addb273c56bbb0a0947b54b2a7da07633499009.zip gcc-0addb273c56bbb0a0947b54b2a7da07633499009.tar.gz gcc-0addb273c56bbb0a0947b54b2a7da07633499009.tar.bz2 |
re PR libstdc++/56112 (cannot create unordered_map from range of types convertible to value_type)
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.
From-SVN: r195520
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions