Boost logo

Boost Users :

From: srivatsan raghavan (machinshin2002_at_[hidden])
Date: 2003-04-03 06:09:22


"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 <seguso_at_[hidden]> wrote:
> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net