Struct copy and destruction

Dan Olson zans.is.for.cans at yahoo.com
Sat Apr 9 10:02:27 PDT 2011


Morlan <home at valentimex.com> writes:

> It sounds reasonable. But I cannot find information about this
> behaviour in the Language Reference or TDPL book. Can you point to a
> relevant source?

I was curious too, so found in Section 7.1.5.1 the description of
opAssign using a swap.  That explains it I think.


More information about the Digitalmars-d mailing list