On 7/27/2014 6:52 AM, bearophile wrote:
> A possible piece of the solution is the recently suggested __trait(valueRange,
> exp), but alone that's not enough.
Instead of adding more language features, purpose existing ones:
assert(exp >= min && exp <= max);