The information in this article applies to:
SYMPTOMSIf you try to use the "using" declaration on a template class defined in a namespace, the following error message appears:
RESOLUTIONUse the using directive instead of the using declaration. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in Visual
Studio 97 Service Pack 1. Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why MORE INFORMATION
The using declaration introduces a name into the declarative region in
which the using declaration appears. It allows an individual name from a
specific namespace to be used without explicit qualification. The using
directive allows all the names in a namespace to be used without
qualification. Sample Code
REFERENCES
TITLE: using Declaration Additional query words:
Keywords : kbcode kberrmsg kbtool kbCompiler kbCPPonly kbLangCPP kbVC kbVC500bug kbVS97sp1fix STLIss |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |