30 Oct
2006
30 Oct
'06
11:38 p.m.
Troels Arvin wrote:
Hello,
I'm wondering: Does Boost have a class like Microsoft's SafeInt? (Portable, of course.)
If not: Does anyone have some good guidelines on how to make code (on Linux) integer overflow safe? (Here: Safe == exception generating.) I'm thinking specialized compilers, etc.
http://www.boost.org/libs/numeric/conversion/doc/numeric_cast.html