
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 10 April 2008 09:57 am, Daniel Frey wrote:
On Thu, 2008-04-10 at 09:27 -0400, Frank Mori Hess wrote:
Also, on further thought, I don't think enable_shared_from_this_base needs to be a template class at all.
If you have an easier implementation without further overhead, I'd be happy to see it.
This patch against trunk illustrates what I have in mind: shared_ptr_observer doesn't need to be a template class. I derived enable_shared_from_this from shared_ptr_observer so I could verify it still passes all the smart_ptr tests. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH/is95vihyNWuA4URApWKAJ9j/aAg3bR2bi9xttLngQtlsJCydACgq3EY 7RQkDMmoMEDoGlsx4P0PY/c= =93cK -----END PGP SIGNATURE-----