property += operator

Ali Çehreli acehreli at yahoo.com
Thu May 10 20:18:27 UTC 2018


On 05/10/2018 01:03 PM, Dlang User wrote:

 >> this didn´t work either.
 >> note that 'f.data+= 2;' don't call the write property
 >
 > That's odd, it works on my machine (Windows 10 with V2.079.0 DMD 
compiler).

Try putting writeln expressions in the two functions to see which one 
gets called. ;)

Ali



More information about the Digitalmars-d-learn mailing list