Quantcast
Channel: Destructor parameters - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Destructor parameters

$
0
0

The article Are destructors overloadable? talks about overloading the destructor.

This raised a question: Can a destructor have parameters?

I've never used or seen a destructor with parameters. I could not come up with an example of a reason to use parameters to the destructor.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images