The information in this article applies to:
SYMPTOMSWhen instantiating a template class of type pointer to function and then using it as demonstrated in the sample code in the Samples section of this article, you may see the following internal compiler error:
RESOLUTIONThe syntax for instantiating a template class of type pointer to function is:
where TS is the name of class template, and pf is the name of the template
class being instantiated. You can now instantiate objects of type pf and
use them to call functions that accept a float as an argument and return
void.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0. MORE INFORMATIONThe following sample code demonstrates the problem and generates the internal compiler error C1001. The workaround is shown in the comments in the sample code. Sample Code
Additional query words: kbVC400bug 10.0 10.10 10.20
Keywords : kbCompiler kbVC500fix |
Last Reviewed: September 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |