static this
Derek Parnell
derek at psyc.ward
Fri Oct 6 04:26:39 PDT 2006
On Fri, 06 Oct 2006 06:40:46 -0400, Chris Miller wrote:
>> 2. Why module constructor must be attributed with static? All module
>> level methods are already static so the attribute seems to be
>> redundant. Make it optional?
>
> I guess you're right; my suggestion was to rename main() to this() :)
But each module can have it own constructor method and they can't all be
'main'.
--
Derek Parnell
Melbourne, Australia
"Down with mediocrity!"
More information about the Digitalmars-d
mailing list