http://d.puremagic.com/issues/show_bug.cgi?id=5931


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenn...@gmail.com


--- Comment #2 from kenn...@gmail.com 2011-05-06 01:46:03 PDT ---
Post-blit is only called when you override the whole structure, as in:

----------------------------------------
import std.stdio;

struct S {
    this(this) {
        writeln("postblit");
    }
}

void main() {
    S s;
    S t;
    s = t;    // <-- call postblit on s.
}
----------------------------------------

Pointer-assignment will *not* call post-blit as you have not blitted
(memcpy-ed) anything.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to