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 |
|
Results 1 to 15 of 24
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |