[challenge] Bounded types

bearophile bearophileHUGS at lycos.com
Tue Oct 12 04:16:20 PDT 2010


Andrei:

> What's wrong with inferring the type from the bounds?

You need to be able to specify an ubyte in 0 ... 255, a long in 100 ... 101  etc. Giving the name in an explicit way is simple enough and looks safer.

Bye,
bearophile


More information about the Digitalmars-d mailing list