Function Dune::XT::Common::reduce

template<class ...Args>
decltype(auto) Dune::XT::Common::reduce(Args&&... args)

Uses std::reduce if available, and falls back to std::accumulate on older compilers. The std::reduce versions with an execution policy as first argument are not supported.