digitalmars.D - op= on get/set
- icee (2/2) Jun 06 2006 When will the op= be implemented on a get/set property, e.g array.length...
- Jarrett Billingsley (6/9) Jun 07 2006 It's difficult because the compiler would have to be able to match up th...
When will the op= be implemented on a get/set property, e.g array.length+=1; Is there some technical difficulty?
Jun 06 2006
"icee" <icee_member pathlink.com> wrote in message news:e65tfl$2p78$1 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.
Jun 07 2006