This maybe more of a C++ ecosystem question than specific to CLion, but since I'm using CLion, I thought I'll post here.
I wanted to try out this code from the "Functional Programming in C++" book:
double average_score(const std::vector<int>& scores)
return std::reduce(std::execution::par, scores.cbegin(), scores.cend(), 0) / (double) scores.size();
But I get `fatal error: 'execution' file not found`.
Using latest macOS, with `brew install cmake --HEAD`, configured CLion to use that cmake and then changed `CMakeLists.txt` to have the line: