Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2007-02-21 10:59:37


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'd like to propose we add an add_tracked() function to the connection
object. This would allow an arbitrary shared_ptr/weak_ptr to be added to
the list of objects tracked for the slot. The justification is to allow
for situations where an object needed by the slot is not directly owned by
a shared_ptr, or doesn't directly correspond to an argument of the bound
function. For example, the bound argument might be contained inside
another object which is in turn managed by a shared_ptr. We could
actually dump boost::track() entirely if we wanted, if we have
add_tracked().

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF3Gxq5vihyNWuA4URAmS+AJkB3tgE/8p7GlCY+xq+UwfTFjZwigCgoQh0
fgQdVgH73Oh3j1g34HNy+JY=
=3UVL
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net