defered new feature
BCS
ao at pathlink.com
Thu Oct 23 12:14:05 PDT 2008
Reply to Andrei,
> BCS wrote:
>
>> A number of times I have found my self wanting to have "new C(args)"
>> return a class derived from C. I know this can be done with a static
>> function or the like but syntactically, it's unappealing.
>>
> I'd say the stupid "new" is unappealing.
>
> Andrei
>
So you don't like "new" all together?
Ok, then morph the idea to allow "the constructor call syntax" to do the
above.
More information about the Digitalmars-d
mailing list