[all-commits] [llvm/llvm-project] 87f3ff: [libc++][ranges] Implement the changes to containe...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Mon Jun 5 18:59:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87f3ff3e55e67709c3455a7ba105424be8ae84f2
      https://github.com/llvm/llvm-project/commit/87f3ff3e55e67709c3455a7ba105424be8ae84f2
  Author: varconst <varconsteq at gmail.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M libcxx/include/queue
    M libcxx/include/stack
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    A libcxx/test/std/containers/container.adaptors/from_range_container_adaptors.h
    M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp
    A libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/from_range.pass.cpp
    A libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_range.pass.cpp
    A libcxx/test/std/containers/container.adaptors/push_range_container_adaptors.h
    M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
    A libcxx/test/std/containers/container.adaptors/queue/queue.cons/from_range.pass.cpp
    A libcxx/test/std/containers/container.adaptors/queue/queue.defn/push_range.pass.cpp
    M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
    A libcxx/test/std/containers/container.adaptors/stack/stack.cons/from_range.pass.cpp
    A libcxx/test/std/containers/container.adaptors/stack/stack.defn/push_range.pass.cpp
    M libcxx/test/support/deduction_guides_sfinae_checks.h
    A libcxx/test/support/unwrap_container_adaptor.h

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

- add the `from_range_t` constructors and the related deduction guides;
- add the `push_range` member function.

(Note: this patch is split from https://reviews.llvm.org/D142335)

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list