At compile time
bearophile
bearophileHUGS at lycos.com
Tue Aug 4 19:13:15 PDT 2009
Jarrett Billingsley:
> I don't think you can call struct methods at compile-time. Kind of
> lame, I know. Try making norm a free function.
I see. It's a significant limitation, that curiously G++ doesn't share.
I have tried to follow your suggestion, but so far with not too much luck, even essentially pulling out all methods of that struct :-)
Thank you,
bye,
bearophile
More information about the Digitalmars-d-learn
mailing list