Re: C++: std::ostringstream default ctor problems
Re: C++: std::ostringstream default ctor problems
- Subject: Re: C++: std::ostringstream default ctor problems
- From: Todd Heberlein <email@hidden>
- Date: Mon, 28 Sep 2009 10:14:31 -0700
By any chance is the foobar class a derived class? And, if so, does
its base class NOT have a virtual destructor?
Somewhat relatedly, I found if I had an STL object like a string
inside a derived class and did *not* have a virtual destructor for the
base class, then I ended up with a memory leak.
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden