Boost logo

Boost Users :

From: Louis Lavery (Louis_at_[hidden])
Date: 2001-12-17 06:51:28


----- Original Message -----
From: Peter Dimov <pdimov_at_[hidden]>
To: <Boost-Users_at_[hidden]>
Sent: Saturday, 15 December, 2001 3:36 PM
Subject: Re: [Boost-Users] Why not "if (px != rpx) " ?

> From: "Louis Lavery" <Louis_at_[hidden]>
> > From: Peter Dimov <pdimov_at_[hidden]>
> > > From: "Louis Lavery" <Louis_at_[hidden]>

[snip]

> an "optimization." The results of share() must be the same even without
the
> test.
>
> --
> Peter Dimov
> Multi Media Ltd.
>

Ah! Right, so part of boost/shared_ptr's definition
is that after assinging b to a, a.px == b.px *and* a.pn == b.pn.

Thanks for the clarification,

Louis.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net