Compile-time computation with constexpr