Array as an argument, ambiguous behaviour.

Dicebot public at dicebot.lv
Thu Jan 30 06:40:35 PST 2014


On Thursday, 30 January 2014 at 13:42:53 UTC, Cooler wrote:
> If I use fun2() I expect that fun2() will change the content of 
> my array, and all changes I will see. If I don't want any 
> change to my array, I will use fun1(). What should I want to 
> use fun3()?

For changes to content of array but not array itself.


More information about the Digitalmars-d-learn mailing list