Defining a custom *constructor* (not initializer!)

Jacob Carlborg doob at me.com
Mon May 7 13:06:05 PDT 2012


On 2012-05-07 21:09, Mehrdad wrote:
> Oh, and ditto with the destructor: I need to be able to call the
> destructor manually, because the C does that inside a callback on my
> behalf.

About the destructor, have a look at how "clear" is implemented, it's 
supposed to replace "delete". Don't remember where it's defined.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list