Pointer to array allocation

BCS ao at pathlink.com
Sun Jun 17 16:35:35 PDT 2007


Reply to 0ffh,

> Hi!
[...]

alias Var[] Lst;

void test()
{
Lst *l=(new Lst[1]).ptr;
}




More information about the Digitalmars-d-learn mailing list