[all-commits] [llvm/llvm-project] 6adb1c: [libc++] Add concepts that ensure a given iterator...

philnik777 via All-commits all-commits at lists.llvm.org
Fri Jun 9 08:38:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6adb1ca555ec7e3ac8d9bc19d3a5710bd7964276
      https://github.com/llvm/llvm-project/commit/6adb1ca555ec7e3ac8d9bc19d3a5710bd7964276
  Author: Nikolas Klauser <n_klauser at apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/pstl_any_all_none_of.h
    M libcxx/include/__algorithm/pstl_fill.h
    M libcxx/include/__algorithm/pstl_find.h
    M libcxx/include/__algorithm/pstl_for_each.h
    M libcxx/include/__algorithm/pstl_transform.h
    A libcxx/include/__iterator/cpp17_iterator_concepts.h
    M libcxx/include/module.modulemap.in
    A libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp

  Log Message:
  -----------
  [libc++] Add concepts that ensure a given iterator meets the syntactic requirements

These concepts are used to ensure valid iterators are passed to PSTL algorithms, but can also be used for other interfaces.

Reviewed By: ldionne, #libc

Spies: EricWF, libcxx-commits

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




More information about the All-commits mailing list