[all-commits] [llvm/llvm-project] 06cf0c: [libc++] Enable move semantics for vector in C++03

philnik777 via All-commits all-commits at lists.llvm.org
Thu May 19 07:12:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06cf0ce90a8f5862e9a7560a422ddea171ac3ca9
      https://github.com/llvm/llvm-project/commit/06cf0ce90a8f5862e9a7560a422ddea171ac3ca9
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__utility/move.h
    M libcxx/include/vector
    M libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/assign_move.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/copy.move_only.verify.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/move.addressof.compile.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/move.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/move_alloc.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace.addressof.compile.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/emplace_back.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.addressof.compile.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_rvalue.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/push_back_rvalue.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
    M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iterator/types.pass.cpp
    M libcxx/test/std/utilities/utility/forward/move_if_noexcept.pass.cpp
    M libcxx/test/support/MoveOnly.h
    M libcxx/test/support/test_allocator.h

  Log Message:
  -----------
  [libc++] Enable move semantics for vector in C++03

We require move semantics in C++03 anyways, so let's enable them for the containers.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D123802




More information about the All-commits mailing list