Can I call the default opAssign after overloading opAssign?

Jonathan M Davis jmdavisProg at gmx.com
Sat Nov 17 11:10:16 PST 2012


On Saturday, November 17, 2012 15:33:48 Kagamin wrote:
> AFAIK, opAssign and postblit are different operators. Postblit is
> called after blit, and opAssign is called instead of blit.

postlbit is making a new copy of an object, whereas opAssign is replacing the 
state of a pre-existing object. They're fundamentally different.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list