📄 ove_3674.htm
字号:
<HTML><HEAD><TITLE>19.1 Overview</TITLE></HEAD><BODY><A HREF="ug1.htm"><IMG SRC="images/banner.gif"></A><BR><A HREF="aut_3512.htm"><IMG SRC="images/prev.gif"></A><A HREF="booktoc1.htm"><IMG SRC="images/toc.gif"></A><A HREF="tindex1.htm"><IMG SRC="images/tindex.gif"></A><A HREF="dec_3723.htm"><IMG SRC="images/next.gif"></A><BR><STRONG>Click on the banner to return to the user guide home page.</STRONG><H2>19.1 Overview</H2><A NAME="idx214"><!></A><P>The <A HREF="../stdlibcr/aut_3512.htm"><B><I>auto_ptr </I></B></A>class wraps any pointer obtained through <SAMP>new</SAMP> and provides automatic deletion of that pointer. The pointer wrapped by an <A HREF="../stdlibcr/aut_3512.htm"><B><I>auto_ptr</I></B></A> object is deleted when the <B><I>auto_ptr</I></B> itself is destroyed.</P><A NAME="19.1.1"><H3>19.1.1 Include File</H3></A><P>Include the memory header file to access the <A HREF="../stdlibcr/aut_3512.htm"><B><I>auto_ptr</I></B></A> class.</P><PRE>#include <memory></PRE><HR><A HREF="aut_3512.htm"><IMG SRC="images/prev.gif"></A> <A HREF="booktoc1.htm"><IMG SRC="images/toc.gif"></A><A HREF="tindex1.htm"><IMG SRC="images/tindex.gif"></A><A HREF="dec_3723.htm"><IMG SRC="images/next.gif"></A><P>©Copyright 1996, Rogue Wave Software, Inc.</P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -