Re: do you ever found memory leak with STL?
From: Chris Theis (Christian.Theis_at_nospam.cern.ch)
Date: 07/26/04
- Next message: Karl Heinz Buchegger: "Re: New to the group - with question."
- Previous message: Karl Heinz Buchegger: "Re: Circular dependency - I think.."
- In reply to: John Harrison: "Re: do you ever found memory leak with STL?"
- Next in thread: Gernot Frisch: "Re: do you ever found memory leak with STL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jul 2004 10:02:48 +0200
"John Harrison" <john_andronicus@hotmail.com> schrieb im Newsbeitrag
news:opsbqgkzmv212331@andronicus...
> On Mon, 26 Jul 2004 14:52:03 +0800, rokia <rokiadd@yahoo.com.cn.discuss>
[SNIP]
> Track the number of times that constructors and destructors are called for
> you class. Obviously these totals should be the same, but don't forget to
> include the copy cosntructors if you do this.
>
To the OP:
And if you need to do this probably a couple of times then you might think
about using a generic tracer class for this purpose.
Chris
- Next message: Karl Heinz Buchegger: "Re: New to the group - with question."
- Previous message: Karl Heinz Buchegger: "Re: Circular dependency - I think.."
- In reply to: John Harrison: "Re: do you ever found memory leak with STL?"
- Next in thread: Gernot Frisch: "Re: do you ever found memory leak with STL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|