You receive a "C2691" error code when you use a jagged array in Managed Extensions for C++ (814058)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
SYMPTOMSIf you declare a jagged array, or use a function that
returns a jagged array, you receive the following compilation error while
compiling the code: mytest.cpp(6) : error C2691: '<data type used> __gc[]' : invalid type for __gc array element where
<data type used> is the data type of the jagged array. CAUSEA jagged array is not supported in the products that are
listed in "Applies To" section of this article.STATUS This
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/13/2006 |
---|
Keywords: | kbCollectionClass kbprb KB814058 kbAudDeveloper kbAudITPRO |
---|
|