[libcxx-commits] [PATCH] D62719: A hot fix for exclusive_scan

Mikhail Dvorskiy via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 13 04:53:34 PDT 2019


MikeDvorskiy marked an inline comment as done.
MikeDvorskiy added inline comments.


================
Comment at: test/std/numerics/numeric.ops/scan.fail.cpp:17
+template<typename PolicyType>
+typename std::enable_if<!std::is_execution_policy<PolicyType>::value, void>::type
+run_algo() {
----------------
ldionne wrote:
> Do you really need this `enable_if`? I don't quite understand the utility of it.
You right,  enable_if looks redundant...
Please have a look at the updated patch. 




Repository:
  rPSTL pstl

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

https://reviews.llvm.org/D62719





More information about the libcxx-commits mailing list