Use a static constexpr rather than a static function.