
31 Jul
2008
31 Jul
'08
8:21 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 31 July 2008 15:28 pm, Alexander Gutenev wrote:
I'm getting a little off-topic, but actually shared_ptr supports #2 as well if you create it with make_shared/allocate_shared.
Interesting. Is this in Boost already ?
It looks like boost/make_shared.hpp will be in 1.36, although documentation for it won't be. I put a patch that adds some documentation in trac ticket #1897, but I don't think anything has been done with it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIkh6x5vihyNWuA4URAuB5AJ4mOpagrvZQYZOyEkXbkh4jn8HuGACgoLgo 1xnGwwSxHJeGIsnailHY8CQ= =hgup -----END PGP SIGNATURE-----