| Jeff Abrahamson on Sun, 16 Feb 2003 19:21:05 -0500 |
|
Looking for more syntax help, I've gotta get a copy of version 3 of
Stroustrup soon.
I'm trying to derive from a templated class, but I'm not getting the
syntax right. The C++ faq and google aren't helping me here. Pointers
or outright answers appreciated.
Thanks much. Here's the simple example:
template <class T>
class SwapArray {
};
class Bar : public template <class T> SwapArray {
//class Bar : public SwapArray {
};
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
pgpDd3aThqX1v.pgp
|
|