[Issue 1462] Templated constructor not supported

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Sep 9 13:06:42 PDT 2008


On Tue, Sep 9, 2008 at 3:55 PM, Sean Kelly <sean at invisibleduck.org> wrote:
> Jarrett Billingsley wrote:
>>
>> I think it's much more that templated methods cannot be virtual, and
>> constructors more or less have to be.
>
> How are constructors virtual?

Uhh umm

Well as it is now, constructors are treated as methods of the class,
so they participate in overloading.  But I think you're right - it
doesn't really seem to have to be that way.


More information about the Digitalmars-d-bugs mailing list