static if on types like double, float

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Jun 14 13:07:47 PDT 2006


"Daniel Keep" <daniel.keep.lists at gmail.com> wrote in message 
news:e6p2l6$r1h$1 at digitaldaemon.com...

> You might be able to use ``static assert(false, "...");`` to show a
> message, maybe not.  I know you can pass the message to the non-static
> version, but I can't remember if the static one supports that.

Indeed you can! 





More information about the Digitalmars-d-learn mailing list