D vs C++

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Dec 27 08:18:23 PST 2010


On 12/27/10, Caligo <iteronvexor at gmail.com> wrote:
> As for CTFE, does this mean I could call 'writeln()' at compile time and
> have it print a message to stdout while compiling?
>

You need to use pragma(msg, "your message here") for that. Not
everything in D is CTFE-able, there are some limitations.


More information about the Digitalmars-d mailing list