On 23.12.2010 3:40, g g wrote:
Thanks for the answers what I did is this ( i feel that it is quite clumsy):Node* x = cast(Node*) (GC.malloc(Node.sizeof)); *x = xa; x.up = curnode; ...
which could be improved:Node* x = new Node(...);//paste your constructor args in place of ... if Node has a constructor, or just
Node* x = new Node;// if no constructors -- Dmitry Olshansky
