Constructor template

BCS BCS at pathlink.com
Wed May 2 14:25:14 PDT 2007


niovol wrote:
> I tried to make a constructor template like this(T)() {...}, but the compilier doesn't allow to do it. Will there be such possibiliy? Or is it impossible?

Constructors are never virtual (the reason non-static class member 
templates are not allowed) so I don't see why they /aren't/ allowed.



More information about the Digitalmars-d mailing list