|
Boost : |
Subject: Re: [boost] Is there interest in portable integer overflow detection, with policy based handling?
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2012-02-21 12:18:30
2012/2/21 Ben Robinson <cppmaven_at_[hidden]>:
> 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.
Great!
Overflow detections are widely used in Boost.Lexical_cast library, but
the implementation is not generic. I would very appreciate a header
only library for detecting overflows.
How fast is your library? Does it support unsigned long long int
overflow detection?
Best regards,
Antony Polukhin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk