Getting .init of a Typetuple

Johannes Pfau spam at example.com
Fri Aug 20 02:02:28 PDT 2010


On 19.08.2010 22:07, Philippe Sigaud wrote:
> And, looking in my codebase, here is what I'm using ;)
> 
> template Init(T...)
> {
>     T Init;
> }
> 
> It's so simple...
> I think I found this before the bug report and then forgot about it and
> copied an old version. I'll update the bug report accordingly, if the
> latter version works for you.

Great, that works!  Thanks for the quick reply.
-- 
Johannes Pfau


More information about the Digitalmars-d-learn mailing list