On 10/05/2010 02:42 AM, Walter Bright wrote:
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.

Now I see what you meant. Thanks for the explanation.

Reply via email to