http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55043



--- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-16 
23:56:07 UTC ---

Author: redi

Date: Wed Jan 16 23:56:00 2013

New Revision: 195253



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195253

Log:

    PR libstdc++/55043 (again)

    * include/bits/alloc_traits.h (allocator_traits::construct): Disable

    unless construction would be well-formed.

    (__allow_copy_cons, __check_copy_constructible): Define.

    * include/bits/unordered_map.h (__check_copy_constructible): Use as

    base class so copy constructor will be deleted if appropriate.

    (is_copy_constructible): Remove specialization.

    * include/bits/unordered_set.h: Likewise.

    * include/debug/unordered_map.h: Undo previous commit. Default copy

    and move constructors.

    * include/debug/unordered_set.h: Likewise.

    * include/profile/unordered_map.h: Undo previous commit.

    * include/profile/unordered_set.h: Likewise.

    * testsuite/23_containers/unordered_map/55043.cc: Fix test.

    * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.

    * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

    * testsuite/23_containers/unordered_set/55043.cc: Likewise.

    * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,

    cannot support incomplete types.

    * testsuite/23_containers/unordered_multimap/requirements/53339.cc:

    Likewise.



Modified:

    trunk/libstdc++-v3/ChangeLog

    trunk/libstdc++-v3/include/bits/alloc_traits.h

    trunk/libstdc++-v3/include/bits/unordered_map.h

    trunk/libstdc++-v3/include/bits/unordered_set.h

    trunk/libstdc++-v3/include/debug/unordered_map

    trunk/libstdc++-v3/include/debug/unordered_set

    trunk/libstdc++-v3/include/profile/unordered_map

    trunk/libstdc++-v3/include/profile/unordered_set

    trunk/libstdc++-v3/testsuite/23_containers/unordered_map/55043.cc

   

trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53339.cc

    trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/55043.cc

   

trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/53339.cc

    trunk/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc

    trunk/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc

Reply via email to