I want to try parallel STL of C++17. However, I can't find experimental/execution_policy in libc++. How can I try this?
I'm trying http://en.cppreference.com/w/cpp/experimental/reduce, which says I should include these files, but I cannot find execution_policy.
#include <experimental/execution_policy>
After I install libc++ (I followed http://libcxx.llvm.org/docs/BuildingLibcxx.html), I tried the following commands, but in vain.
$ clang++-3.5 -std=c++1z test.cpp -lc++experimental
test.cpp:5:10: fatal error: 'experimental/execution_policy' file not found
#include <experimental/execution_policy>
^
1 error generated.
Is this not implemented yet?
Is this not implemented yet?
That is correct. Neither the parallelism TS (which would live in <experimental/xxx>
or the parallel algorithms in the (not yet final) C++1z standard have been implemented in libc++ (yet).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With