Boost logo

Boost :

Subject: [boost] Is there interest in portable integer overflow detection, with policy based handling?
From: Ben Robinson (cppmaven_at_[hidden])
Date: 2012-02-21 01:04:20


The implementation is complete, with 5 policies created (and users can
always create and use more). The policies are:

ignore_overflow
throw_overflow
assert_overflow
saturate_overflow
nan_overflow

The implementation is fully portable, and it provides integer types which
can be used like the builtin integers, except they will trigger their
policy on an overflow.

Also, this library will integrate seamlessly with the Boost Constrained
Value Library (contributed by Robert Kawulak).

Does this pique anyone's interest?

Thank you,

Ben Robinson


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