| 531 | * */ |
| 532 | |
| 533 | class SafeIntException |
| 534 | { |
| 535 | public: |
| 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 |
| 545 | inline void SafeIntExceptionAssert(){ assert(false); } |
no outgoing calls
no test coverage detected