Not initialized out argument error
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 16 17:02:57 PDT 2014
On 6/16/2014 3:51 PM, bearophile wrote:
> test.d(1,21): Error: uninitialised out argument of 'test3.foo' function
But it is not uninitialized. All out parameters are default initialized to their
.init value.
> I think that most D code with functions with out arguments that are not
initialized inside the function are already buggy
I don't agree with this opinion, as they *are* initialized.
More information about the Digitalmars-d
mailing list