3 ms·> If I was in C++, then a constexpr would make sense.by renox 5y ago> If I was in C++, then a constexpr would make sense.pjmlp 5y agoIf it was in C++, what you really want is consteval or constinit, constexpr only for pre-C++20.