automatic int to short conversion - the HELL?

Jarrett Billingsley jarrett.billingsley at gmail.com
Fri Sep 19 17:46:53 PDT 2008


On Fri, Sep 19, 2008 at 8:23 PM, bearophile <bearophileHUGS at lycos.com> wrote:

> - In arrays and other collections the length can be named "size" and it has to be a signed integer as long as the CPU word.

I like the idea of replacing 'length' with 'size', but why does it
have to be signed?  As long as the interactions between signed and
unsigned integers are better defined and restricted, there's no point.


More information about the Digitalmars-d-learn mailing list