$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Pooyan McSporran (duckfreezone_at_[hidden])
Date: 2006-01-15 06:37:37
On 15/01/06, Jonathan Biggar <jon_at_[hidden]> wrote:
> >
> > template<typename T> class Foo {
> > public:
> >
> > typedef shared_ptr<Foo> Ptr;
> >
> > };
>
> And of course that won't work if you need to use the shared_ptr in
> contexts where Foo is not defined yet.
True, but even so it's the approach I've ended up using; seems there's
no one "ideal" solution, but this one is quite usable given the constraints.
Thanks.