-----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 when this happens, and the
original object is destroyed, and disconnects the connection, it
breaks the connection even though the object has been copied,
including the connection.
Is sigc::connection not copy safe using ref counting? How can you get
around this?