About structs and performant handling

Namespace rswhite4 at googlemail.com
Sat Mar 9 23:00:44 PST 2013


> You don't mark it with '&'.

Oh, then I understood you wrong.
I thought you meant that the compiler for each struct parameters 
(whether marked or not) just automatically perform such changes.

>>> Then you only need one version of the function.  We could
>>> use auto ref for this.
>> 'auto ref' will probably never work for non-template 
>> functions, as Jonathan said some time ago.
>
> That is not my understanding.

Read my thread 'auto ref - again'.


More information about the Digitalmars-d mailing list