Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameterized Destructor

Status
Not open for further replies.

maluk

Programmer
Oct 12, 2002
79
SG
Can a destructor function have parameters/arguments? Rome did not create a great empire by having meetings, they did it by
killing all those who opposed them.

- janvier -
 
Nope.

The best you can do is set some flags in your object telling the destructor how it should be destroyed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top