Boost logo

Boost :

Subject: Re: [boost] thread_safe_ptr class interest request
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2010-07-28 19:36:33


> > What's still to be done is worry about ownership of objects, my idea is
> to
> > eventually somewhat model it after boost::shared_ptr that way it's easier
> > to pass those around.
>
> In which case you would wind up with something almost exactly like
> poet::monitor_ptr:
>
>
> http://www.comedi.org/projects/libpoet/boostbook/doc/boostbook/html/poet/monitor_ptr.html
>
> I found the resulting coupling of two orthogonal concepts (automatic
> locking
> and shared_ownership) to be unsatisfactory however, resulting in the
> generic_ptr library in the boost sandbox (undocumented), which allows
> composition of smart pointer types, plus facilities for writing generic
> code
> that manipulates pointers or pointer-like classes.
>

Interesting, why isn't this up for review?

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk