2 ms·
That's the case though, as long as CODE is syntactically correct. So this would compile: if constexpr (condition) { print("yes"); } While this wouldn'
by Kristine1975 10y ago
That's the case though, as long as CODE is syntactically correct. So this would compile:
if constexpr (condition) {
print("yes");
}
While this wouldn't:
if constexpr (condition) {
print({
}
At least that's my understanding.