The information in this article applies to:
SYMPTOMSWhen compiling a template class that contains a data member that is an array of a second template class, and the second class contains a data member that is an array, and the size of both arrays is dependent on a template parameter, you will receive the following error:
RESOLUTIONUse a pointer instead of an array. Allocate the space for the array in the constructor and deallocate the space for the array in the destructor. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Workaround
Additional query words:
Keywords : kbCompiler kbCPPonly kbVC600bug |
Last Reviewed: February 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |