Hello,
If I need to be able to call a function from a destructor, Passing the object (or a piece of it) to a function, how would I do that ?
I tried passing 'this' and this->something
but it says "illegal call of non-static member function"
Hello,
If I need to be able to call a function from a destructor, Passing the object (or a piece of it) to a function, how would I do that ?
I tried passing 'this' and this->something
but it says "illegal call of non-static member function"
When I referred to the object, I mean the one about to be destroyed.
if you couldn't just call the member functions the traditional way, perhaps there is another way around it. can you post some of your code so we can find an alternative? perhaps localizing the deconstruction solely to the deconstructors scope...
hasafraggin shizigishin oppashigger...