Re: sigc::connection and std::vector

2014-01-25 Thread Paul Davis
On Wed, Jan 22, 2014 at 9:01 PM, Phillip Susi wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > I have an object that I wanted to maintain a sigc::connection in and > disconnect it when the object is destroyed. The object is also stored > in a std::vector, which seems to copy and de

Re: sigc::connection and std::vector

2014-01-25 Thread fr33domlover
This is not a gtk+ issue, you should ask on the gtkmm mailing list. On ד', 2014-01-22 at 21:01 -0500, Phillip Susi wrote: > I have an object that I wanted to maintain a sigc::connection in and > disconnect it when the object is destroyed. The object is also stored > in a std::vector, which seems

sigc::connection and std::vector

2014-01-22 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I have an object that I wanted to maintain a sigc::connection in and disconnect it when the object is destroyed. The object is also stored in a std::vector, which seems to copy and destroy objects as needed when resizing the array. It looks like wh