Way to use var instead of auto?

2016-07-03 Thread MMJones via Digitalmars-d-learn
I like the term var better than auto. Is there a way to alias auto?

Re: Hooking into GC

2016-06-29 Thread MMJones via Digitalmars-d-learn
On Thursday, 30 June 2016 at 01:26:47 UTC, Martin Nowak wrote: On Wednesday, 29 June 2016 at 14:41:48 UTC, MMJones wrote: On Wednesday, 29 June 2016 at 10:07:19 UTC, Martin Nowak wrote: How will this affect the trackallocs module? Will it break it, replace it? Essentially a merge of it? Should

Re: Hooking into GC

2016-06-29 Thread MMJones via Digitalmars-d-learn
On Wednesday, 29 June 2016 at 10:07:19 UTC, Martin Nowak wrote: On Wednesday, 29 June 2016 at 02:18:27 UTC, MMJones wrote: I read somewhere that one can modify the D files from phobos and runtime to supply a stub for the GC. I would like to add some logging features to the GC. Does this not r

Re: Hooking into GC

2016-06-28 Thread MMJones via Digitalmars-d-learn
On Wednesday, 29 June 2016 at 03:10:10 UTC, thedeemon wrote: On Wednesday, 29 June 2016 at 02:18:27 UTC, MMJones wrote: I read somewhere that one can modify the D files from phobos and runtime to supply a stub for the GC. I would like to add some logging features to the GC. You don't need to

Hooking into GC

2016-06-28 Thread MMJones via Digitalmars-d-learn
I read somewhere that one can modify the D files from phobos and runtime to supply a stub for the GC. I would like to add some logging features to the GC. Does this not require one to recompile phobos? I figured the source code was just for debugging? I'm curious if I can really get away wit