Skip to content

albin-johansson/safely

Repository files navigation

Safely

CI

Safely is a C++ library that provides safe numeric APIs, free of undefined behavior.

Requirements

  • C++17 or later
  • Signed integers must use two's complement (verified at compile-time)

Configuration

  • Use SAFELY_ENABLE_INTRINSICS to control whether intrinsics such as __builtin_add_overflow are used

See also

About

A C++ library that provides safe numeric APIs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors