[Issue 955] Passing arguments into functions - in, out, inout, const, and contracts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 20:01:26 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=955





------- Comment #1 from wbaxter at gmail.com  2007-02-12 22:01 -------
Fixed size arrays are also Type 2, passed by reference.

   int func(int[2] xy) { xy[0] = 1; }  // modifies caller's xy[0]


-- 



More information about the Digitalmars-d-bugs mailing list