[Issue 4500] scoped moves class after calling the constructor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 26 03:19:56 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4500
--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-07-26 03:19:53 PDT ---
The language specifies that returning a stack-allocated object by value from a
function does not invoke the constructor. Currently the compiler is not up to
the specification.
--
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