Default initialization for classes

Deewiant deewiant.doesnotlike.spam at gmail.com
Sat May 20 07:59:38 PDT 2006


Hasan Aljudy wrote:
> Now that I look at
> http://www.dsource.org/projects/tutorials/wiki/CurrencyExample
> I see that it's doing it on a class! The code must be borken.
> 

You'll also notice that the opAdd method in that example takes two arguments
instead of one.

Apparently, since the method's never called in the code (it might as well be
removed) the error hasn't been noticed.



More information about the Digitalmars-d mailing list