Temporarily disable all purity for debug prints

bearophile bearophileHUGS at lycos.com
Tue Apr 12 09:41:25 PDT 2011


David Gileadi:

> I'm not a day-to-day D programmer but it's seemed to me for a while that 
> having a print/log function that would work in normal code, in pure code 
> and in CTFE would be extremely useful.

Vote, if you like :-) This asks for something minimal, a way to print strings at compile-time, like a ctputs() that doesn't print the ending newline:
http://d.puremagic.com/issues/show_bug.cgi?id=3952

Bye,
bearophile


More information about the Digitalmars-d mailing list