[Issue 3188] remove opIndexAssign from the language

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 5 05:36:13 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3188



--- Comment #13 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-02-05 05:36:12 PST ---
I again want to say that returning ref is no possible in case of my ussages
opIndexAssign.

For example I would like to log assigments. Or keep internal caching system.
Also it is possible that i have datastructure which needs to know size of the
object (string) which i put there, to allocate and rebalance this
datastructure.
When i would return ref, it would not be possible to perform any such thinkg. 


Leave opIndexAssign it is very usefull.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list