Topic: What does "template class Foo;" mean?
Author: Rick Hollinbeck <rickh@REMOVEMEBEFOREMAILINGwesternwares.com>
Date: 1997/07/28 Raw View
What does the declaration:
template class Foo;
mean (as found in the Borland C++ Builder VCL headers) ?
I would think that this must be, e.g.:
template<class T> class Foo;
or perhaps
template<> class Foo<char> { ... };
I can find no mention of this syntax in the draft standard
(but I may not be looking deep enough.)
Is this meant to predeclare a template class with indeterminate
arguments?
Or is this just plain non-compliant C++?
--
- Rick Hollinbeck (rickh@REMOVETHISBEFOREMAILINGwesternwares.com)
Web: http://www.westernwares.com/
---
[ comp.std.c++ is moderated. To submit articles: Try just posting with your
newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu
]