Hacker News new | ask | show | jobs
by gumby 1505 days ago
> If you are using C++, and want to parallelize something, just add "std::execution::par" to your algorithms.

Do any of the shipping standard libraries actually implement execution policies? I only use gcc and clang so have to resort to TBB to get this capability.

1 comments

>> Do any of the shipping standard libraries actually implement execution policies? I only use gcc and clang so have to resort to TBB to get this capability.

Looks like it's C++17 and C++20 feature:

https://en.cppreference.com/w/cpp/algorithm/execution_policy...