Boost logo

Boost :

From: Thomas Matelich (sosedada_at_[hidden])
Date: 2000-09-13 17:45:41


David Abrahams wrote:

> ----- Original Message -----
> From: "Thomas Matelich" <sosedada_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Wednesday, September 13, 2000 4:20 PM
> Subject: Re: [boost] Inheriting shared_ptr
>
> > For my purposes (simplifying things for my users), I need both templated
> > constructers and deleters. Essentially, I want to hide all use of dynamic
> > allocation and deallocation. I've been working on a class to do this. I
> just
> > started with shared_ptr and went from there. I'll paste the code in and
> then
> > describe my problems afterward
>
> I'm not sure precisely what you're trying to accomplish here, but you might
> look at my "py_cpp" posting to the vault. Specifically, take a look at
> template <...> class Constructor. It works with MSVC. Of course, I have no
> idea whether this solves your problem ;)

Yeah, I think that will probably be the route I go if I have to, I just didn't
want to create Ctor0, 1, 2,... classes. Of course I may just go with a factory
as Greg Colvin (which always throws me off because that's my boss's name)
suggested.
Thanks,
tom

--
Thomas O Matelich
Senior Software Designer
Zetec, Inc.
sosedada_at_[hidden]
tmatelich_at_[hidden]

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