op= on get/set

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Jun 7 11:19:21 PDT 2006


"icee" <icee_member at pathlink.com> wrote in message 
news:e65tfl$2p78$1 at digitaldaemon.com...
> When will the op= be implemented on a get/set property, e.g 
> array.length+=1;
> Is there some technical difficulty?

It's difficult because the compiler would have to be able to match up the 
getters and setters for a given property, which, given D's rather 
"interesting" method of declaring properties and also because of possible 
implicit conversions, it might be a very difficult thing to do. 





More information about the Digitalmars-d mailing list