diff options
Diffstat (limited to 'pipermail/nel/2001-February/000242.html')
-rw-r--r-- | pipermail/nel/2001-February/000242.html | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/pipermail/nel/2001-February/000242.html b/pipermail/nel/2001-February/000242.html new file mode 100644 index 00000000..6b015e9b --- /dev/null +++ b/pipermail/nel/2001-February/000242.html @@ -0,0 +1,101 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Nel] maybe bug</TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:jaleco%40svr1.gameone.com.tw"> + <LINK REL="Previous" HREF="000237.html"> + <LINK REL="Next" HREF="000246.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Nel] maybe bug</H1> + <B>jaleco</B> + <A HREF="mailto:jaleco%40svr1.gameone.com.tw" + TITLE="[Nel] maybe bug">jaleco@svr1.gameone.com.tw</A><BR> + <I>Wed, 21 Feb 2001 18:37:46 +0800</I> + <P><UL> + <LI> Previous message: <A HREF="000237.html">[Nel] Something I don't understand about the license agreement.</A></li> + <LI> Next message: <A HREF="000246.html">[Nel] Link error</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#242">[ date ]</a> + <a href="thread.html#242">[ thread ]</a> + <a href="subject.html#242">[ subject ]</a> + <a href="author.html#242">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>This is a multi-part message in MIME format. + +------=_NextPart_000_0021_01C09C35.623341E0 +Content-Type: text/plain; + charset="big5" +Content-Transfer-Encoding: quoted-printable + +first I am a newbies for c++,so maybe I am wrong. + +file moves.cpp=20 + auto_ptr<CConfigFile> cf2( new CConfigFile() ); + auto_ptr<CConfigFile> cf( new CConfigFile() ); +seem to wrong, becuase auto_ptr will delete content when leave local = +stack. +but ccconfigfile store it to vector container , this will cause bad = +thing . +did it ? + + +------=_NextPart_000_0021_01C09C35.623341E0 +Content-Type: text/html; + charset="big5" +Content-Transfer-Encoding: quoted-printable + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<HTML><HEAD> +<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5"> +<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> +<STYLE></STYLE> +</HEAD> +<BODY bgColor=3D#ffffff> +<DIV><FONT size=3D2>first I am a newbies for c++,so maybe I am = +wrong.</FONT></DIV> +<DIV><FONT size=3D2></FONT>&nbsp;</DIV> +<DIV><FONT size=3D2>file moves.cpp </FONT></DIV> +<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; auto_ptr&lt;CConfigFile&gt; = +cf2( new=20 +CConfigFile() );</FONT></DIV> +<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; auto_ptr&lt;CConfigFile&gt; cf( = +new=20 +CConfigFile() );<BR>seem to wrong, becuase auto_ptr will delete content = +when=20 +leave local stack.</FONT></DIV> +<DIV><FONT size=3D2>but ccconfigfile store it to vector container , this = +will=20 +cause bad thing .</FONT></DIV> +<DIV><FONT size=3D2>did it ?</FONT></DIV> +<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML> + +------=_NextPart_000_0021_01C09C35.623341E0-- + + + +</pre> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI> Previous message: <A HREF="000237.html">[Nel] Something I don't understand about the license agreement.</A></li> + <LI> Next message: <A HREF="000246.html">[Nel] Link error</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#242">[ date ]</a> + <a href="thread.html#242">[ thread ]</a> + <a href="subject.html#242">[ subject ]</a> + <a href="author.html#242">[ author ]</a> + </LI> + </UL> +</body></html> |