Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!cs.umn.edu!kksys!edgar!mmug!UUCP From: Jim.Spencer@p510.f22.n282.z1.edgar.mn.org (Jim Spencer) Newsgroups: comp.lang.c++ Subject: Want pointers on intelligent pointers Message-ID: <669258004.1@mmug.edgar.mn.org> Date: 17 Mar 91 01:43:20 GMT Sender: UUCP@mmug.edgar.mn.org Lines: 9 marc Andrew Pawlowsky writes in a message to All MA> The trouble is that I would like for my deletion routine to be MA> the destructor. But if my interpetation of ARM is correct then MA> the destuctor will destroy the object no matter what I do. Novice curiosity here. Why do you want your deletion routine to be the destructor? Presumably you are calling the destructor yourself, at least indirectly with delete. If so, instead of calling delete, call another member function, say check_delete(). This in turn could call the destructor couldn't it?