roxen.lists.pike.general
Subject | Author | Date |
---|---|---|
overloading again. | Marc Dirix <marc[at]electronics-design[dot]nl> | 29-01-2009 |
Hi, I'm still not having luck with overloading the `+=() operation on a class. What should the `+=() return? Are there any good examples? Furthermore, If I overload `-> and `[]. Is there also a way to overload the return of the class itself? i.e. if there is a class Mailboxes, with internal mapping containing the actual mailboxes, is it possible to return the mapping containing the mailboxes instead of the object on mapping mymailboxes = Client.Mailboxes ? Marc |