T[new] misgivings

Lutger lutger.blijdestijn at gmail.com
Fri Oct 16 00:08:22 PDT 2009


Just to understand it:

int[new] a;
int[new] b;

a = [1,2,3];
b = a;

In your book, the last statement would copy contents of a into b and b.ptr 
!= a.ptr while according to walter, b would rebind to a?






More information about the Digitalmars-d mailing list