Anonymous classes should pass through super ctors
BCS
ao at pathlink.com
Mon Aug 18 12:20:05 PDT 2008
Reply to Steven,
>>>> And while were at it, it would be nice to add an auto constructor
>>>> that is added to all constrictors (kind of like member variable
>>>> initialization in c#)
>>>>
>>> It would be nice to be able to do this with runtime constructs,
>>> instead of being limited to compile-time ones.
>>>
>> I'm not following...
>>
> i.e. you can already do this today:
>
> class X
> {
> int blah = 5;
> }
> But it has to be a compile-time constant.
>
> It would be nice if you could use a runtime evaluated value.
>
> -Steve
>
Ah, now I'm reading you correctly. That's exactly what I'm asking for. :)
More information about the Digitalmars-d
mailing list