Exiv2
Safe::Internal::fallback_add_overflow< T, typename > Struct Template Reference

Fallback overflow checker, specialized via SFINAE. More...

#include <safe_op.hpp>

Detailed Description

template<typename T, typename = void>
struct Safe::Internal::fallback_add_overflow< T, typename >

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.


The documentation for this struct was generated from the following file: