4 ms·
OK, no static then, but what about if constexpr (...) ? :D
by pajko 4y ago
OK, no static then, but what about if constexpr (...) ? :D
- planede 4y agoAlso `if consteval {...}` in C++23. But really "if" still semantically means the same thing in all of these. Unlike "static", which is all over the place.
- rerdavies 4y agoAnd then there's "static constexpr" (which is only used in places where non-static constexprs are illegal). An overloaded keyword that's become so overloaded, it's even used in places where it's completely unnecessary! :-P