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