Re: template typedef
- From: "Alessandro Vergani" <avergani@xxxxxxxxxxx>
- Date: Tue, 23 Sep 2008 00:12:59 +0200
"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message news:e2WHwPKHJHA.4564@xxxxxxxxxxxxxxxxxxxxxxx
There will be, in the next version of the standard. For now, the closest you can get is something like this:
template <typename T>
struct typedXptr {
typedef shared_ptr<X<T> > type;
};
typedXptr<char>::type XcharPtr;
Thank you!
Alessandro
.
- References:
- template typedef
- From: Alessandro Vergani
- Re: template typedef
- From: Igor Tandetnik
- template typedef
- Prev by Date: Re: Bug with UNICODE and std::vector?
- Next by Date: C++ program paste paragraph of text
- Previous by thread: Re: template typedef
- Next by thread: virtual function call issue
- Index(es):