Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

19.1 Overview

The auto_ptr class wraps any pointer obtained through new and provides automatic deletion of that pointer. The pointer wrapped by an auto_ptr object is deleted when the auto_ptr itself is destroyed.

19.1.1 Include File

To access the auto_ptr class, include the memory header file:


Previous fileTop of documentContentsIndexNext file
©Copyright 1998, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.
OEM Release, June 1998