SafeIntException::SafeIntException

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Creates a SafeIntException object.

SafeIntException();  
  
SafeIntException(  
   SafeIntError code  
);  

Parameters

[in] code
An enumerated data value that describes the error that occurred.

The possible values for code are defined in the file Safeint.h. For convenience, the possible values are also listed here.

  • SafeIntNoError

  • SafeIntArithmeticOverflow

  • SafeIntDivideByZero

Header: safeint.h

Namespace: msl::utilities

SafeInt Library
SafeIntException Class
SafeInt Class

Show: