auto ref - again

Namespace rswhite4 at googlemail.com
Sun Jan 27 06:54:25 PST 2013


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.


More information about the Digitalmars-d mailing list