
29 Apr
2008
29 Apr
'08
1:02 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've noticed it is possible to construct a half-empty shared_ptr that has an empty shared_count but a non-null pointer (brief example program attached). Perhaps the aliasing constructor, and similarly the shared_count constructor should do some argument checking? - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIFxx05vihyNWuA4URApYiAJwMZIi0qKWDubA60c9yWyP8S5An2QCeK+es LAW09je97rpq4qxqTRqVuks= =h5d6 -----END PGP SIGNATURE-----