|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 2000-08-29 19:31:39
Thomas Matelich wrote:
> <whine> I wanna inherit shared_ptr </whine>
>
> Anyway, here's my situation, I'm writing a library for a simple plugin
> architecture. Objects can be created from classes in dynamic libraries
> dynamically. I want those objects to be shared_ptrs and be able to
> construct themselves.
I don't understand.
> I think this qualifies as an isa relationship.
> In general, their only purpose is to be used like a shared_ptr.
>
> So, is shared_ptr always going to use private for share and have no
> virtual destructor,
Please explain why you think it should expose its implementation
details and why it should have a virtual destructor.
> or is this matter up for discussion?
We can discuss it, but I think I know the outcome.
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk