[Bug libstdc++/66055] hash containers missing required reserving constructors

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 22 15:53:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 22 15:53:14 2015
New Revision: 224740

URL: https://gcc.gnu.org/viewcvs?rev=224740&root=gcc&view=rev
Log:
Backport from mainline
2015-05-14  Nathan Myers  <ncm@cantrip.org>
            Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/66055
        * include/std/unordered_map (unordered_map, unordered_multimap): Add
        missing constructors.
        * include/std/unordered_set (unordered_set, unordered_multiset):
        Likewise.
        * testsuite/23_containers/unordered_map/cons/66055.cc: New.
        * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
        * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
        * testsuite/23_containers/unordered_set/cons/66055.cc: New.

Added:
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/bits/unordered_map.h
    branches/gcc-5-branch/libstdc++-v3/include/bits/unordered_set.h



More information about the Gcc-bugs mailing list