3 ms·If you're using C++ 20, you can mark functions consteval to force constant evaluation.by throw16180339 2y agoIf you're using C++ 20, you can mark functions consteval to force constant evaluation.