System.OpenArray.operator ()
From RAD Studio API Documentation
Revision as of 17:46, 16 October 2011 by TestAccount (Talk | contribs)
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