System.OpenArray.operator ()
C++
__fastcall operator T*()
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysopen.h | System | OpenArray |
Description
Converts this OpenArray to T*.
Use this operator to get the internal data pointer.
// C++ example
OpenArray<int>a(-10, -20, -30);
printf("%d\n", a.GetHigh()); // should display 2
((int*)a)[0] = 100;
printf("%d\n", ((int*)a)[0]); // should display 100