I wanted to use the parallel version of std::sort
where I can specify an execution policy like std::execution::par_unseq
.
I'm currently using clang++-10
and g++ 7.5.0
under Ubuntu Linux, but both don't find the required include file execution
, so apparently the parallel algorithm is not yet supported in these compiler versions.
Can someone please tell me which version of clang
and gcc
would support this feature?
libstdc++
bound to a version ofg++
or a version ofUbuntu
? The relationship is not clear to me. It seems the include files of STL are in my case in '/usr/include/c++/7/' (and also in '/usr/include/boost/'), so apparently I have version 7 (is that used by both 'g++' and 'clang++'?). – Paraphrast