Few recent dmd pull requests

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 26 12:42:45 PDT 2014


Sean Kelly:

> I'm pretty biased, but am quite excited about:

Mine was only a partial list :-)


> void main() {
>      auto r = new Generator!string({
>          yield("the");
>          yield("quick");
>          yield("brown");
>          yield("fox");
>      });

Do you need the "new" there? Is that a heap-allocated class 
instance? Is that r Generator working at module scope too?

Bye,
bearophile


More information about the Digitalmars-d mailing list