[Issue 6186] Struct destructor is not called on out parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 26 17:33:37 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6186
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2011-06-26 17:28:44 PDT ---
I'm unsure what the right fix is for this.
Out variables are supposed to be initialized by the function, not assigned.
Hence, I think uninitialized variables should be passed to them, and it should
be an error to pass a non-default-initialized variable.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list