Can I call the default opAssign after overloading opAssign?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Nov 19 05:03:14 PST 2012


On 11/19/12, Rob T <rob at ucora.com> wrote:
> perhaps best
> done using the C libs memcopy function.

I think the safest thing you can do is:

void oldAssign(Type rhs)
{
    this.tupleof = rhs.tupleof;
}


More information about the Digitalmars-d-learn mailing list