Syntax for Pointer to Class

rikki cattermole rikki at cattermole.co.nz
Fri Jan 25 20:56:01 UTC 2019


On 26/01/2019 9:52 AM, Q. Schroll wrote:
>      C* ptr = &[ new C(...) ][0];

C* ptr = [ new C(...) ].ptr;

Should work.


More information about the Digitalmars-d-learn mailing list