Uranuz:
Same situation happens when I assign reference data to properties.
Someone has suggested to solve this problem with an attribute, like "owned", that forbids to return mutable reference data owned by a class/struct instance.
Bye, bearophuile
bearophile via Digitalmars-d-learn Fri, 28 Nov 2014 00:36:11 -0800
Uranuz:
Same situation happens when I assign reference data to properties.
Someone has suggested to solve this problem with an attribute, like "owned", that forbids to return mutable reference data owned by a class/struct instance.
Bye, bearophuile