Stan Lippman on the Managed Extension Reference Array Syntax


Stan Lippman has a new posting on the C++/CLI declaration of managed array objects:

C++/CLI revision of the Managed Extension Reference Array Syntax

...This has been simplified in the revised language design, in which we use a template-like declaration to mirror the STL vector declaration. The first parameter indicates the element type. The second parameter specifies the array dimension [defaults to 1, of course]. The array object itself is a reference type and so must be given a hat. If the element type is also a reference type, then that, too, must be so marked...

Skip to main content