January 06, 2002 overloading functions with out parameters | ||||
---|---|---|---|---|
| ||||
It doesn't work sometimes. Just try to compile this: class X { } class A { X B(X x, out int i) { i = 666; return new X; } X B(X x) { int i; return B(x, i); } } |
January 11, 2002 Re: overloading functions with out parameters | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | The fix for this will go out in the next update. -Walter "Pavel Minayev" <evilone@omen.ru> wrote in message news:a19o11$2ji3$1@digitaldaemon.com... > It doesn't work sometimes. Just try to compile this: > > class X { } > > class A > { > X B(X x, out int i) { i = 666; return new X; } > X B(X x) { int i; return B(x, i); } > } > > |
Copyright © 1999-2021 by the D Language Foundation