May 21, 2015 Re: D needs... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Thursday, 21 May 2015 at 17:47:02 UTC, Daniel Kozak wrote:
> I will probably implement all variants (final!bool, !final, final(bool),
> default), if I have a enought spare time.
Any plans on turning it into a PR when you're done?
|
May 21, 2015 Re: D needs... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Thu, 21 May 2015 19:38:17 +0000 Meta via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote: > On Thursday, 21 May 2015 at 17:47:02 UTC, Daniel Kozak wrote: > > I will probably implement all variants (final!bool, !final, > > final(bool), > > default), if I have a enought spare time. > > Any plans on turning it into a PR when you're done? Not so far. But if I will be satisfied with any version I could try to make PR. |
May 21, 2015 Re: D needs... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Thursday, 21 May 2015 at 19:47:56 UTC, Daniel Kozak wrote:
>
> On Thu, 21 May 2015 19:38:17 +0000
> Meta via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote:
>
>> On Thursday, 21 May 2015 at 17:47:02 UTC, Daniel Kozak wrote:
>> > I will probably implement all variants (final!bool, !final, final(bool),
>> > default), if I have a enought spare time.
>>
>> Any plans on turning it into a PR when you're done?
>
> Not so far. But if I will be satisfied with any version I could try to make PR.
That would be really kind of you. Negation of attributes and rvalue references are the things I miss the most.
|
May 25, 2015 Re: D needs... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Monday, 18 May 2015 at 21:51:49 UTC, Namespace wrote: >> Knee-jerk response: if no "return" attribute on a function it should be safe to bind rvalues to ref parameters. Of course that's impractical as a default so explicit "auto ref" would be needed. -- Andrei > > Would it be to hasty if someone would start implementing auto ref for non-templates right now? Or should a more experienced user do that? Just in case I can contribute somehow. I took the liberty to begin with an implementation. Thanks to Kenjiis work, it was not too difficult, I had to adjust only the changes on the new code base: https://github.com/Dgame/dmd/tree/auto-ref-for-non-templates Maybe this could be reviewed as soon as 'return ref' is fully implemented. |
Copyright © 1999-2021 by the D Language Foundation