Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

How to: Make Typedefs for Managed Arrays

This example shows how to make a typedef for a managed array.

Example

// mcppv2_typedef_arrays.cpp
// compile with: /clr
using namespace System;
ref class G {};

typedef array<array<G^>^> jagged_array;

int main() {
   jagged_array ^ MyArr = gcnew jagged_array (10);
}

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.