opAssign in D2

lurker lurker at lurker.com
Mon Jun 2 09:08:29 PDT 2008


i like to copy objects such as:

class A {....}

A xxx; // some things are done ...

A yyy = xxx;

how can one do that in D2 easy? are any samples?


More information about the Digitalmars-d-learn mailing list