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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Mar 11 19:23:04 2014
New Revision: 208494

URL: http://gcc.gnu.org/viewcvs?rev=208494&root=gcc&view=rev
Log:
    Backport from mainline.

    2014-01-09  Jonathan Wakely  <jwak...@redhat.com>

    PR libstdc++/59738
    * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
    support for non-Movable types.

    2014-01-08  François Dumont  <fdum...@gcc.gnu.org>

    * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
    *this allocator instance when building temporary vector instance
    so that *this allocator does not get moved.
    * testsuite/23_containers/vector/allocator/move.cc (test01): Add
    check on a vector iterator.
    * testsuite/23_containers/vector/allocator/move_assign.cc
    (test02): Likewise.
    (test03): New, test with a non-propagating allocator.

    2013-11-15  Jonathan Wakely  <jwakely....@gmail.com>

    * testsuite/23_containers/vector/allocator/move.cc: New

Added:
   
branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc
      - copied, changed from r208492,
branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc
Modified:
    branches/gcc-4_8-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_8-branch/libstdc++-v3/include/bits/stl_vector.h
   
branches/gcc-4_8-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc

Reply via email to