9 Oct
2008
9 Oct
'08
3:42 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 09 October 2008 10:58 am, Bill Somerville wrote:
The less than operator for shared_ptr compares the address of the pointee, not its value.
No, I believe it provides a partial weak ordering based on shared ownership. It's possible for two shared_ptr that share ownership to point at different addresses (via the aliasing constructor for example). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI7iZ15vihyNWuA4URAvWlAKCDP42K5Ml2sfH7cIprJWYj/7k3sgCeJ9dq tvWkCTEvoDWi8gEPDsj0ou0= =HJ+E -----END PGP SIGNATURE-----