Hi
Is it legal to declare a destructor for a class that follows the 'Singleton' pattern ?
I mean is there anything inherent in the pattern that prevents or rather discourages the programmer to prevent declaring a destructor for the singleton class...
Thanks
Anand pillai ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is it legal to declare a destructor for a class that follows the 'Singleton' pattern ?
I mean is there anything inherent in the pattern that prevents or rather discourages the programmer to prevent declaring a destructor for the singleton class...
Thanks
Anand pillai ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mail me at abpillai@excite.com if you want additional help. I dont promise that I can solve your problem, but I will try my best.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~