auto attribution pros/cons
Ben Jones
fake at fake.fake
Mon Jun 29 16:21:56 UTC 2020
On Sunday, 28 June 2020 at 23:06:25 UTC, Dennis wrote:
> On Sunday, 28 June 2020 at 22:29:01 UTC, Ben Jones wrote:
>> What about adding "auto" an attribute that means "infer
>> attributes?"
>
> You can already make the return type auto, which will also
> infer attributes.
True, but you could imagine wanting to be explicit about the
return type and still get attribute inference.
More information about the Digitalmars-d
mailing list