Is this possible with a template?
From: Jamie Burns (reply_to_group_at_whatever.com)
Date: 12/31/04
- Next message: Florian Quetting: "Re: Standard network method"
- Previous message: Kiuhnm: "Re: Semi-circular definitions (plus circular references)"
- Next in thread: Victor Bazarov: "Re: Is this possible with a template?"
- Reply: Victor Bazarov: "Re: Is this possible with a template?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Florian Quetting: "Re: Standard network method"
- Previous message: Kiuhnm: "Re: Semi-circular definitions (plus circular references)"
- Next in thread: Victor Bazarov: "Re: Is this possible with a template?"
- Reply: Victor Bazarov: "Re: Is this possible with a template?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]