aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-February/000242.html
blob: 6b015e9b4e9468b5ad5f396d3ab016c1df935587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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=&quot;big5&quot;
Content-Transfer-Encoding: quoted-printable

first I am a newbies for c++,so maybe I am wrong.

file moves.cpp=20
     auto_ptr&lt;CConfigFile&gt; cf2( new CConfigFile() );
    auto_ptr&lt;CConfigFile&gt; 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=&quot;big5&quot;
Content-Transfer-Encoding: quoted-printable

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=3DContent-Type content=3D&quot;text/html; charset=3Dbig5&quot;&gt;
&lt;META content=3D&quot;MSHTML 5.50.4522.1800&quot; name=3DGENERATOR&gt;
&lt;STYLE&gt;&lt;/STYLE&gt;
&lt;/HEAD&gt;
&lt;BODY bgColor=3D#ffffff&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;first I am a newbies for c++,so maybe I am =
wrong.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;file moves.cpp &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto_ptr&amp;lt;CConfigFile&amp;gt; =
cf2( new=20
CConfigFile() );&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto_ptr&amp;lt;CConfigFile&amp;gt; cf( =
new=20
CConfigFile() );&lt;BR&gt;seem to wrong, becuase auto_ptr will delete content =
when=20
leave local stack.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;but ccconfigfile store it to vector container , this =
will=20
cause bad thing .&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;did it ?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=3D2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;

------=_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>