|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-06-03 13:21:05
Topher Cooper <topher_at_[hidden]> writes:
> If you are dealing with where you would want to use unsigned
> integers and you unwittingly do subtract a larger from a smaller
> value -- if your program logic does not protect you from it -- than
> you better have an exception.
No, you better have an assertion.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk