Exiv2
|
Fallback overflow checker, specialized via SFINAE. More...
#include <safe_op.hpp>
Fallback overflow checker, specialized via SFINAE.
This struct implements a 'fallback' addition with an overflow check, i.e. it does not rely on compiler intrinsics. It is specialized via SFINAE for signed and unsigned integer types and provides a public static member function add.