⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ove_3674.htm

📁 C++标准库 C++标准库 C++标准库 C++标准库
💻 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 &#60;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>&copy;Copyright 1996, Rogue Wave Software, Inc.</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -