Registry / utility / safeint

safeint

JSON →
library3.0.28vcpkgunverified

SafeInt is a class library for C++ that manages integer overflows

vcpkg install safeint
INSTALL
IMPORT
SIG · SAFEINT
S
safeint
utilitycppv3.0.28
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SafeInt.hpp
✓ #include <SafeInt.hpp>

Use SafeInt to detect integer overflow

#include "SafeInt.hpp" int main() { SafeInt<int> a = 2147483647; SafeInt<int> b = 1; try { SafeInt<int> c = a + b; } catch (const SafeIntException& e) { // overflow caught } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.28latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources

No resource links recorded.

safeint — pip install safeint · libregistry