Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2006-03-21 14:25:57


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Felipe Magno de Almeida
> Sent: Tuesday, March 21, 2006 1:15 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] enable_shared_from_this - or an
alternative..
>
> > [Nat]
> > for this use case, I see no particular advantage to using weak_ptr
> > rather than a dumb pointer.
>
> weak-ptr is thread-safe.

[Nat] Okay, that's worth remembering, thanks. Our project is
single-threaded, so the issue didn't arise for us.


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