That’s a nope from the latest compiler. std::accumulate is not constexpr.
std::accumulate
https://godbolt.org/z/8bqjTczTb