From: Dave Gomboc (dave_at_[hidden])
Date: 2003-10-30 12:48:27
> > Use unsigned numeric types whenever negative values aren't
> > or don't make sense.
> ... at your own risk.
In my experience, using both int and unsigned int nips a
certain amount of bugs in the bud, and hasn't introduced new
ones. Of course, YMMV. Another poster mentioned that some
compilers don't emit warnings for signed/unsigned comparison
mismatches and the like, but IMO this is either a QoI issue
or the user hasn't turned them on.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk