3 ms·
std::ranges::fold_left (since C++23) can take a range directly instead of a separated pair of iterators, and requires the explicit add.
by o11c 2y ago
std::ranges::fold_left (since C++23) can take a range directly instead of a separated pair of iterators, and requires the explicit add.