The Many Faces of D - slides

Michel Fortin michel.fortin at michelf.com
Sun Oct 3 10:57:50 PDT 2010


On 2010-10-03 09:59:16 -0400, bearophile <bearophileHUGS at lycos.com> said:

> Page 19:
>> Unlike C++, values can be moved in memory  Postblit is used to “adjust” 
>> things after a move<
> 
> OK, so a moving GC needs to call the Postblit each time it moves a struct.

But isn't postblit used only when doing a copy? I think the last word 
in the quote should be "copy", not "move". So a moving GC does not have 
to call postblit.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list