[OT] Which IDE / Editor do you use?

Jacob Carlborg doob at me.com
Sun Sep 15 03:08:41 PDT 2013


On 2013-09-15 02:09, Nick Sabalausky wrote:

> Assert? That doesn't let you trace the flow. I use this:
>
> void trace(string file=__FILE__, size_t line=__LINE__)(string
> msg="trace") {
>          writefln("%s(%s): %s", file, line, msg);
>          stdout.flush();
> }

If you use runtime arguments you'll avoid template bloat:

void trace(string msg="trace", string file=__FILE__, size_t line=__LINE__)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list