FIX: Type Definition Is Not Inherited in Derived Template Class (214619)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q214619 SYMPTOMS
When you compile a template class that references a type that is defined in a base template class, the following error message might appear:
error C2653: 'type-name' : is not a class or namespace name
RESOLUTION
To work around this problem, reimplement the typedef down the hierarchy of derived classes.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Visual C++ .NET.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbBug kbCompiler kbCPPonly kberrmsg kbfix kbLangCPP KB214619 |
---|
|