d malloc

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 8 11:10:42 PDT 2014


On Fri, 08 Aug 2014 16:42:12 +0000
seany via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:

a) we need the working code;
b) foreach (a; ...) doest struct copying, and you see the temporary
stack object as 'a'. either use 'ref a', or don't do that at all.

that is what i was able to understand from your code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140808/35770813/attachment-0001.sig>


More information about the Digitalmars-d-learn mailing list