[Issue 5546] Assigning and initializing structs from functions make more copies than necessary
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Dec 9 03:16:55 PST 2015
https://issues.dlang.org/show_bug.cgi?id=5546
Infiltrator <lt.infiltrator at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |lt.infiltrator at gmail.com
Resolution|--- |WORKSFORME
--- Comment #3 from Infiltrator <lt.infiltrator at gmail.com> ---
2.069 produces the desired output:
============
Creating temp
Creating copy
Forwarding copy
Returning global
Copying global
Deleting global
Deleting copy
Deleting temp
============
--
More information about the Digitalmars-d-bugs
mailing list