auto ref - again
Namespace
rswhite4 at googlemail.com
Mon Jan 28 15:01:11 PST 2013
On Sunday, 27 January 2013 at 14:54:26 UTC, Namespace wrote:
> On Sunday, 27 January 2013 at 10:35:34 UTC, Namespace wrote:
>> I didn't know. I thought auto ref would be the only solutions
>> for non-template functions.
>> But then I think we must wait for 2 or 3 versions. With this
>> background knowledge I will write my code twice, with and
>> without ref. Thank you.
>
> Bug 9410 makes it even worse to handle struct as rvalues _and_
> lvalues:
> http://forum.dlang.org/thread/bug-9410-3@http.d.puremagic.com%2Fissues%2F#post-ke3aeh:242i00:241:40digitalmars.com
> As I said before: D isn't ready for real production. This is
> the sad truth.
It's fixed. Kenji is the best. :)
@Andrei:
It would be great (And I would be very glad) if you keep us up to
date with your plan about const&.
More information about the Digitalmars-d
mailing list