June 07, 2006 op= on get/set | ||||
---|---|---|---|---|
| ||||
When will the op= be implemented on a get/set property, e.g array.length+=1; Is there some technical difficulty? |
June 07, 2006 Re: op= on get/set | ||||
---|---|---|---|---|
| ||||
Posted in reply to icee | "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. |
Copyright © 1999-2021 by the D Language Foundation