About structs and performant handling

Namespace rswhite4 at googlemail.com
Mon Mar 11 01:29:55 PDT 2013


> As said in another post, I think auto ref suffer pretty much 
> the same problem, but it is less problematic as you can't see 
> the result on rvalues anyway, so the compiler cannot really 
> screw you. It has the inconvenience of taking by ref many thing 
> that would benefit from pass by value.

The only problem with this is, that no one knows, if and when 
'auto ref' will be implemented for non-templates.
I still hope to an official statement, but I think this is 
unfortunately unrealistic.


More information about the Digitalmars-d mailing list