[libcxx-commits] [PATCH] D149686: [libc++][DISCUSSION] Exploring PSTL backend customization points

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 8 14:14:39 PDT 2023


ldionne added inline comments.


================
Comment at: libcxx/include/__algorithm/pstl_for_each.h:38
+  using _Backend = typename __select_backend<__remove_cvref_t<_ExecutionPolicy>>::type;
+  __pstl_for_each(_Backend{}, __policy, std::move(__first), std::move(__last), std::move(__func));
 }
----------------
As @philnik pointed out, we actually can't use ADL here because our code needs to be "robust-against-adl" (tm).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149686/new/

https://reviews.llvm.org/D149686



More information about the libcxx-commits mailing list