Copy elision by spec

Lars T. Kyllingstad public at kyllingen.net
Tue Nov 5 00:21:49 PST 2013


On Monday, 4 November 2013 at 19:55:50 UTC, deadalnix wrote:
>
> In D, structs are movable by spec. It means internal pointer 
> and other stuff like that are incorrect by spec.

"Structs are movable" != "returned structs are guaranteed to be 
moved".


More information about the Digitalmars-d mailing list