MCPcopy Create free account
hub / github.com/dcleblanc/SafeInt / SafeInt_InvalidParameter

Class SafeInt_InvalidParameter

SafeInt.hpp:715–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713 };
714
715 class SafeInt_InvalidParameter
716 {
717 public:
718 static SAFEINT_NORETURN void SafeIntOnOverflow() SAFEINT_NOTHROW
719 {
720 SafeIntExceptionAssert();
721 _CRT_SECURE_INVALID_PARAMETER("SafeInt Arithmetic Overflow");
722 }
723
724 static SAFEINT_NORETURN void SafeIntOnDivZero() SAFEINT_NOTHROW
725 {
726 SafeIntExceptionAssert();
727 _CRT_SECURE_INVALID_PARAMETER("SafeInt Divide By Zero");
728 }
729 };
730
731#if defined _WINDOWS_
732

Callers

nothing calls this directly

Calls 1

SafeIntExceptionAssertFunction · 0.70

Tested by

no test coverage detected