Efficiently passing structs

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 5 11:49:07 PDT 2015


On 05/05/2015 07:14 AM, bitwise wrote:

 > I don't see how someone could arrive at the above
 > solution without showing up here and asking first.

It was the same with me. :) Then I wrote a short section about it:

 
http://ddili.org/ders/d.en/lvalue_rvalue.html#ix_lvalue_rvalue.auto%20ref,%20parameter

Ali



More information about the Digitalmars-d-learn mailing list