
15 Jan
2006
15 Jan
'06
11:37 a.m.
On 15/01/06, Jonathan Biggar
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.