Functions as Struct Properties

Sam S E eisenstat.aa at sympatico.ca
Sat Nov 22 15:00:26 PST 2008


Hi,

We already have the notation:

int[] array;
void foo(int[] a, int x);

foo(array, 3);
array.foo(3);	// means the same thing

so why not extend this to struct first arguments?
--Sam



More information about the Digitalmars-d mailing list