Boost logo

Boost :

From: Andras Erdei (aerdei_at_[hidden])
Date: 2006-05-28 16:34:57


On 5/28/06, Ben Artin <macdev_at_[hidden]> wrote:
>
> Wait a minute... please name one physical quantity that is
>
> a) Always integer
> b) Never negative
> c) Not just an enum (i.e., not just a finite set of possible values)
>
> I can't think of one, which makes me think that your argument about
> physical
> values is irrelevant, as you'd never use an unsigned *integer* for a
> physical
> value.
>

IMHO we don't need "unsigned_integer" -- what we need is "cardinal"

integer (Z) is for calculations
cardinal (N) is for counting stuff

but let's be happy if integer makes it into TR2,
and lets leave everything else for later

br,
andras


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk