3 ms·
No, in D any statement prefixed with `debug` does not get its purity checked. `debug` prefixed code is enabled via a command line switch, otherwise it is excise
by WalterBright 7y ago
No, in D any statement prefixed with `debug` does not get its purity checked. `debug` prefixed code is enabled via a command line switch, otherwise it is excised.
I.e. it's for conditionally inserting debugging code where you don't care about purity, you just want to find the bug.