You can't make sum constexpr in this case, though, since it calls a non-constexpr function, accumulate.
You can't make sum constexpr in this case, though, since it calls a non-constexpr function, accumulate.