Re: Assignment to this.
Tom Kaitchuck <[email protected]> Fri, 8 Jul 2005 00:15:55 -0700
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 07 July 2005 1:48 pm, Daniel Bonniot wrote: > I think what you want will be covered by overloaded constructors. They are > mentioned in the wiki. Basically, the idea is to allow the definition of > methods that are called like a constructor. But they are normal methods, > and so might do something else, like return an existing instance, null > (provided the type allows it), ... It's especially useful when you discover > you need this behaviour but you don't want to change the API for clients. Yes that's great. Maybe a copy of the manual should be put into wiki so these things can be added to the documentation more easily. ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar