Posted on 1997-11-27
What's wrong with the following statement?
CTypedPtrArray<CObArray, CTypedPtrArray<CObArray, MyObject&>&> My2DObArray;
I get missing "decl-specifiers" error, "syntax error : missing ';' before '<'", "unexpected token(s) preceding ';'". The lines are from my header file of my control. I add these lines after the lines generate by MSVC. I get errors even if I use 1D CArrays of CString there! Why?