On Tuesday, 30 August 2016 at 17:11:48 UTC, Johannes Pfau wrote:
Nice! Here's a slightly modified version: https://dpaste.dzfl.pl/8c5ec90c5b39

This version does not need an additional delegate. It can be used like this:

assumeNogc!writefln("foo %s", 42);
assumeNogc!writeln("foo", 42);

Marvellous!

I update my cryptic but short-and-sweet `dln` at

https://github.com/nordlow/phobos-next/blob/master/src/dbg.d#L58

I would love to see this very useful little snippet make its way into Phobos somehow. Any suggestions on how?

Reply via email to