"template typedef" is a feature-to-be , essentially
it's something that would do exactly as you suggest,
but is not currently in the language, but is likely to
be added in the next language revision..
see herb sutter's gotw article for possible options..
http://www.gotw.ca/gotw/079.htm
--vat
--- Maurizio Colucci
On Thursday 03 April 2003 12:30, Michael Kettner wrote:
you can do the following:
typedef boost::shared_ptr<int> tPtrInt;
vector<tPtrInt> v;
Michael
Thanks Michael.
So there is no way to rename shared_ptr once and for all, right?
(I'm asking because I have heard about "template typedefs", but I don't know the syntax.)
cheers,
Maurizio
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com