
17 Mar
2011
17 Mar
'11
6:26 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, March 17, 2011, pavel wrote:
and at last can you please give a couple of reasons why delete'ing smart pointers is a bad idea?
It violates the fundamental premise of shared_ptr: shared ownership. Whoever deletes the object directly is taking total ownership of the object. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2CUjsACgkQ5vihyNWuA4UZswCfWkCMXcVU/CdQ8/JKWtNerZFr 4eYAoMquMISHXZGgdgEdpxCfZ3Wf3wkn =LjH1 -----END PGP SIGNATURE-----