📄 ove_3674.htm
字号:
<HTML><HEAD><TITLE>Overview</TITLE></HEAD>
<BODY>
<A HREF="ug.htm"><IMG SRC="images/banner.gif"></A>
<P><STRONG>Click on the banner to return to the user guide home page.</STRONG></P>
<P>©Copyright 1996 Rogue Wave Software</P>
<H2>Overview</H2>
<P>The <A HREF="../stdref/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="../stdref/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="includefile"><H3>Include File</H3></A>
<P>Include the memory header file to access the <A HREF="../stdref/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="booktoc.htm"><IMG SRC="images/toc.gif"></A> <A HREF="dec_3723.htm"><IMG SRC="images/next.gif"></A></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -