http://KK8259.REDI.TK
http://kk8259.126.com
吕加平解读中共十六大权力结构
吕加平
(2002年11月23日)
(作者北京电话:010-82595702;湖南邵阳电话:0739-5222053)
(吕加平个人主页:kk8259.redi.tk或http://kk8259.126.com [EMAIL PROTECTED])
-
在11月
Hi Thomas,
I suspect it's misuse on your part. Remember, with istrstream and
ostrstream, after you call str(), you must either delete the pointer you
get back, or call freeze(false) to tell the stream to unfreeze the memory:
ostrstream msg;
msg << "foo" << '\0';
cout << msg.str();
You can modify Xalan's Makefile to add your "samples," but I wouldn't
suggest that. You should probably write your own Makefile, or just use a
shell script, if you're program isn't terribly complicated.
Dave
Title: Memory leaks in STD library
We are slowly replacing every usage of istrstream, ostrstream in our code by our own classes as it seems, at least on windows 2000 using VC++ 6.0, that there are very big memory leaks in those classes.
Is it something that anyone else experienced as well or
"Themmen, Joel" <[EMAIL PROTECTED]> wrote:
> I need a cross-OS XML parser and XPath evaluator. We originally used the
> MSXML parser but that obviously was not available on non-Microsoft OS's.
We
> have used Xerces internally for a number of other projects and are quite
> pleased with it. The o