Yeah, I was wrong on that regard.
Although I still think with a mix of template metaprogramming and constexpr might be possible, however it would be a very low ROI on such example.
And it would still be worse than the other languages, so defeat accepted.