On Tue, Apr 15, 2014 at 01:40:07PM -0700, Walter Bright via Digitalmars-d wrote: > On 4/15/2014 1:37 PM, Walter Bright wrote: > >On 4/15/2014 1:19 PM, monarch_dodra wrote: > >>On Tuesday, 15 April 2014 at 20:13:19 UTC, Walter Bright wrote: > >>>On 4/15/2014 1:10 PM, H. S. Teoh via Digitalmars-d wrote: > >>>>Is automatic inference of @nogc anywhere within our reach right > >>>>now? > >>> > >>>Yes, it's no harder than pure or nothrow inference is. > >> > >>I meant mostly for non-template code, where there is no inference. > > > >I had a PR for that, but nobody liked it. > > https://github.com/D-Programming-Language/dmd/pull/1877
I'm not sure I like the idea of overloading "auto" to mean *both* "automatically infer return type" and "automatically infer attributes". What about @auto or @default for attribute inference, and leave return type inference as-is? T -- Too many people have open minds but closed eyes.