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

Class SafeIntException

Archive/releases/5/SafeInt_3013p.cpp:533–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531* */
532
533class SafeIntException
534{
535public:
536 SafeIntException() { m_code = SafeIntNoError; }
537 SafeIntException( SafeIntError code )
538 {
539 m_code = code;
540 }
541 SafeIntError m_code;
542};
543
544#if defined SAFEINT_ASSERT_ON_EXCEPTION
545inline void SafeIntExceptionAssert(){ assert(false); }

Callers 2

SafeIntOnOverflowFunction · 0.70
SafeIntOnDivZeroFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected