About structs and performant handling

deadalnix deadalnix at gmail.com
Tue Mar 12 02:38:18 PDT 2013


On Tuesday, 12 March 2013 at 09:24:11 UTC, Namespace wrote:
>> You never gave any rationale reason on that.
>
> Because I just like to have the control over what is passed by 
> ref and what by value.

I'm sorry, but what you like is exactly the opposite of a 
rational example.

> Maybe I want that a bigger struct is passed by value.
> As long as I must denote parameters accordingly, in order that 
> the compiler decide instead of me, this is no problem.
> But if you have no control, because the compiler will decide 
> for you, it would not be possible.
> I'm considering a small example until evening.



More information about the Digitalmars-d mailing list