I encountered the same problem.
You do not need to call delete.
As soon as the scope of x ends, ~X() is called.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: wolfram77 Search: Search took 0.05 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |