property += operator

Dlang User dlang.user at gmx.com
Thu May 10 21:04:33 UTC 2018


On 5/10/2018 3:18 PM, Ali Çehreli wrote:
> 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
> 

Now, I see the problem. Sorry for the noise.




More information about the Digitalmars-d-learn mailing list