|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-09-11 16:10:25
"Jason Hise" <0xchaos_at_[hidden]> writes:
> I think that adding semantics to the actual operations on integers
> (like allowing addition to throw) is dangerous and could easilly cause
> unexpected behavior.
Overflowing addition of signed integers is _currently_ allowed to
throw as one expression of undefined behavior.
-- 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