static if - is the 'static' really needed?

Parke parke.nexus at gmail.com
Sat Dec 14 09:26:47 PST 2013


On Fri, Dec 13, 2013 at 4:10 AM, comco <void.unsigned at gmail.com> wrote:
> Imagine a world in which a simple 'if' has the semantics of a static if, if
> the condition is evaluable at CT. Is this a world you would rather live in?

Even so, I would still want static if, so that I would get a compile
time error if I mistaken thought code could be evaluated at CT.


More information about the Digitalmars-d-learn mailing list