[all-commits] [llvm/llvm-project] 17bbb2: [libc++][ranges] Implement the changes to vector f...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Mon May 8 23:41:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17bbb224f99cf6fde83aa68e2e22e70fe9ed77be
      https://github.com/llvm/llvm-project/commit/17bbb224f99cf6fde83aa68e2e22e70fe9ed77be
  Author: varconst <varconsteq at gmail.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M libcxx/docs/Status/Cxx2bPapers.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__ranges/container_compatible_range.h
    A libcxx/include/__ranges/from_range.h
    M libcxx/include/__split_buffer
    M libcxx/include/module.modulemap.in
    M libcxx/include/ranges
    M libcxx/include/vector
    M libcxx/test/libcxx/private_headers.verify.cpp
    A libcxx/test/std/containers/from_range_helpers.h
    A libcxx/test/std/containers/insert_range_helpers.h
    A libcxx/test/std/containers/sequences/from_range_sequence_containers.h
    A libcxx/test/std/containers/sequences/insert_range_sequence_containers.h
    A libcxx/test/std/containers/sequences/vector.bool/append_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/assign_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/construct_from_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector.bool/insert_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector/vector.cons/construct_from_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp
    A libcxx/test/std/containers/sequences/vector/vector.modifiers/append_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector/vector.modifiers/assign_range.pass.cpp
    A libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_range.pass.cpp
    A libcxx/test/std/ranges/range.utility/range.utility.conv/from_range_t.compile.pass.cpp
    M libcxx/test/support/deduction_guides_sfinae_checks.h

  Log Message:
  -----------
  [libc++][ranges] Implement the changes to vector from P1206 (`ranges::to`):

- add the `from_range_t` constructors and the related deduction guides;
- add the `insert_range`/`assign_range`/etc. member functions.
(Note: this patch is split from https://reviews.llvm.org/D142335)

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




More information about the All-commits mailing list