|
Boost : |
Subject: Re: [boost] Is there any interest in a smart pointer facade class?
From: Cory Nelson (phrosty_at_[hidden])
Date: 2010-09-22 12:35:16
On Wed, Sep 22, 2010 at 8:03 AM, Krzysztof Czainski <1czajnik_at_[hidden]> wrote:
> Is there any interest in a smart pointer facade class?
>
> I have in mind a class, that works similarily to boost::iterator_facade for
> developers of smart pointers instead of iterators.
>
> template < class Derived, class Pointee >
> class smart_ptr_facade;
>
> Recently I wrote two smart pointer classes, and felt the need for such a
> class. I would like to write such a class, and if everything goes well,
> perhaps add it to the Boost library.
It is supposed to be something like a more powerful intrusive_ptr?
Can you give a usage example?
-- Cory Nelson http://int64.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk