Easy OO question
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
-
Jason Hooper wrote: The destructor is called when I delete bar right? yep. If you want to make sure of it, just try to display something in the destructor [ with
~Foo{ cout<<"Here i destruct the object"< if you're running a console application].You can even display the pointer address to be really sure it is the
bar
and not something else.~RaGE();