14 int a = sft::limits_min<int>;
15 int b = sft::limits_min<int>;
20 catch(std::exception& e)
36 catch(std::exception& e)
Defines safe type operation.
types::enable_if_signed_integral_t< Type > safe_add(Type a, Type b)
Safe addition of the signed integral types.
types::enable_if_integral_t< Type > safe_mul(Type a, Type b)
Safe multiplication of integral types.
Type to string name conversions are defined.
Stream output operators << are implemented.
This file implements safe arithmetic.