We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are forced to use:
const auto [worst_it, best_it] = std::ranges::minmax_element(pop | std::views::all, [&eva](const auto &i1, const auto &i2) { return eva(i1) < eva(i2); }); const scored_individual worst(*worst_it, eva(*worst_it)); const scored_individual best(*best_it, eva(*best_it));
instead of:
const auto scored([&eva](const auto &prg) { return scored_individual(prg, eva(prg)); }); const auto [worst, best] = std::ranges::minmax(pop | std::views::transform(scored));
because of not very recent clang++ versions (e.g. see llvm/llvm-project#52696)
clang++
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are forced to use:
instead of:
because of not very recent
clang++
versions (e.g. see llvm/llvm-project#52696)The text was updated successfully, but these errors were encountered: