From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-03-31 01:23:39
From: Thomas Matelich <tmatelich_at_[hidden]>
> Todd Greer wrote:
> > Define your dtor out-of-line in the C file, where the type is
> > complete. An empty dtor is fine. This will cause the dtor of the
> > smart pointer to be instantiated there, so it will see the complete
> > type. This will be necessary for any normal variety of smart
> > pointer--some will need copying to be defined out-of-line also.
> That wasn't the answer I'd hoped for :) I liked not having to worry
> about maintaining a boost lib. Are other people using the lib changing
> it so that it uses C files? Is there any plan to change the
> distribution to do that?
I believe Todd was suggesting a change to your classes, not to
the smart pointer classes. There is no plan yet to change the
smart pointer classes in this way, but there is discussion.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk