In c ++ 17, you should be able to run standard algorithms, for example, std::sort :
template< class ExecutionPolicy, class RandomIt > void sort( ExecutionPolicy&& policy, RandomIt first, RandomIt last ); in parallel mode, passing the appropriate type of execution policy . Does any of the available online compilers currently support this functionality?
All attempts to connect <execution> while ended about the same :
fatal error: execution: No such file or directory #include <execution> ^~~~~~~~~~~ compilation terminated.