typedefs on template classes
From: Alexander Malkis (alexloeschediesmalk_at_stone.cs.uni-sb.de)
Date: 03/31/04
- Next message: Neil Zanella: "C++ and variable initializers?"
- Previous message: Alexander Malkis: "A is a friend of B, and C a subclass of A. Is C a friend of A?"
- Next in thread: Kevin Goodsell: "Re: typedefs on template classes"
- Reply: Kevin Goodsell: "Re: typedefs on template classes"
- Reply: John Harrison: "Re: typedefs on template classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 02:18:05 +0200
//I have
template<class T> class A {
//...
};
/* I would like to create a template type Aptr<T>, which is a family of
pointer types, whose underlying types are A<T>. But the following
fails: */
template<class T>
typedef A<T> *Aptr<T>;
//How to create this template type Aptr correctly?
/*
-- Best regards, Alex. PS. To email me, remove "loeschedies" from the email address given. */
- Next message: Neil Zanella: "C++ and variable initializers?"
- Previous message: Alexander Malkis: "A is a friend of B, and C a subclass of A. Is C a friend of A?"
- Next in thread: Kevin Goodsell: "Re: typedefs on template classes"
- Reply: Kevin Goodsell: "Re: typedefs on template classes"
- Reply: John Harrison: "Re: typedefs on template classes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]