How do I call super or object.opAssign for classes?

Diego Canuhé canuhedc at gmail.com
Tue Jul 26 04:54:54 PDT 2011


Hi,
isn't that the way it's supposed to work? I mean

void show(int a) { writeln(a); }

void main() { show(null); }

won't compile either.
Shouldn't bar be some kind of pointer?

btw, today I read "opAssign can no longer be overloaded for class objects"
here:

http://www.d-programming-language.org/features2.html

is that no longer valid?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110726/2c368468/attachment.html>


More information about the Digitalmars-d-learn mailing list