3 ms·
You could do sizeof((expr)?1:2) instead, which would also force expr to be contextually convertible to a bool.
by edflsafoiewq 7y ago
You could do sizeof((expr)?1:2) instead, which would also force expr to be contextually convertible to a bool.
- pandaman 7y agosizeof((expr)) would suffice to filter out types.