Is this possible with a template?

From: Jamie Burns (reply_to_group_at_whatever.com)
Date: 12/31/04


Date: Fri, 31 Dec 2004 17:19:05 GMT

Hello,

I have an application which uses a class called "rSharedPointer". I want to
replace it with the Boost shared pointer but would like to keep the old name
and not modify any existing code.

I have tried doing the following:

    typedef boost::shared_ptr<T> rSharedPointer;

and:

    template<typename T> typedef boost::shared_ptr<T> rSharedPointer;

But it will not compile?

Any ideas?

Jamie.