generic + numeric + literals = abomination

bearophile bearophileHUGS at
Sat Mar 27 04:52:28 PDT 2010

> Since D is superb, i like to know how you do it in D.
> If you got a better idea in C++, i would like to hear that too!

You know there are float literal too, in C++/D, like: 5.5f
I don't think D can help you more than C++ here.
Can you explain better what the problem is and what kind of solution you would like?


More information about the Digitalmars-d-learn mailing list