The Many Faces of D - slides
Walter Bright
newshound2 at digitalmars.com
Mon Oct 4 16:42:08 PDT 2010
Max Samukha wrote:
> He said "movable using memcpy()". He didn't say anything about adjusting
> pointers. A moving GC should and will adjust pointers, but I don't see
> how the memcpy() is relevant here.
The moving GC would adjust the pointers, but the memcpy() means that other
things would not need to be done, such as incrementing counters, all the things
that non-trivial copy constructors do.
More information about the Digitalmars-d
mailing list