Created on 2016-09-06.00:00:00 last changed 100 months ago
Consider:
template<void *P> void f() { if constexpr (P) {} // #1 }
This is ill-formed at #1, because an expression of type void* cannot be converted to bool as a contextually converted constant expression.
History | |||
---|---|---|---|
Date | User | Action | Args |
2016-09-06 00:00:00 | admin | create |