You might want to consider using a smart reference pointer instead.
Check out the auto_ref_ptr class in the following link:
http://code.axter.com/auto_ref_ptr.h
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Thread: about "auto_ptr"Threaded View
|
Click Here to Expand Forum to Full Width |