• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C++: std::ostringstream default ctor problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >C++: std::ostringstream default ctor problems (From: Dan Caugherty <email@hidden>)
 >Re: C++: std::ostringstream default ctor problems (From: Rush Manbert <email@hidden>)

  • Prev by Date: Re: C++: std::ostringstream default ctor problems
  • Next by Date: this view is clipping its content (not)
  • Previous by thread: Re: C++: std::ostringstream default ctor problems
  • Next by thread: Re: C++: std::ostringstream default ctor problems
  • Index(es):
    • Date
    • Thread