[Issue 2444] structs should allow calling the normal blitting function when overriding opAssign
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 1 16:21:13 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=2444
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-01 16:21:12 PST ---
I think you can implement this now as:
struct Foo
{
void opAssign(const Foo rhs)
{
this.tupleof = rhs.tupleof;
}
}
Maybe it should be added to the docs.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list