-
- Downloads
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
Showing
- libstdc++-v3/ChangeLog 7 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/hashtable_policy.h 1 addition, 1 deletionlibstdc++-v3/include/bits/hashtable_policy.h
- libstdc++-v3/testsuite/23_containers/unordered_map/cons/56112.cc 49 additions, 0 deletions...++-v3/testsuite/23_containers/unordered_map/cons/56112.cc
Loading
Please register or sign in to comment