[PATCH] D56139: [pstl] Fix compile errors when PARALLEL_POLICIES is disabled

Thomas Rodgers via Phabricator reviews at reviews.llvm.org
Tue Jan 15 13:00:05 PST 2019


rodgert marked an inline comment as done.
rodgert added a comment.

See inline comment



================
Comment at: include/pstl/internal/algorithm_impl.h:181
 
 template <class _ExecutionPolicy, class _RandomAccessIterator, class _Size, class _Function, class _IsVector>
 _RandomAccessIterator
----------------
Shouldn't this definition be protected by #ifdef __PSTL_USE_PAR_POLICIES?

Sure, it will fail to compile because it calls something that is __PSTL_USE_PAR_POLICIES but what was it ldionne said about being consistent recently?


Repository:
  rPSTL pstl

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

https://reviews.llvm.org/D56139





More information about the libcxx-commits mailing list