[Interest] Help, please !!!

Scott Aron Bloom Scott.Bloom at onshorecs.com
Thu Apr 26 23:45:37 CEST 2012


Nope.  That was not the issue.  The issue was that when you append list
A into list B, you can't get to list A because what's inside list B is a
copy of A, not A itself.  You might want to read again from the first
post.

_______________________________________________
	
Nope.. not at all.. 

The problem is with your testcase Nikos... NOT implicit sharing..

listOfInts.append(10);

Expliticly PREVENTS the modification of the listOfInts variable.

It takes in a const object reference, Guarenteeing the original will NOT
be modified.. And implying that any modification to the original will
not effect the copy as well..

Scott





More information about the Interest mailing list