Help with throwing exceptions
In my code, I need to enhance the List class to throw an exception whenever an error occurs. I need to use exception specifications for all functions. I know it would be something like if .... throw (OutOfRangeException) I am just not sure where and how to incorporate this. Please help...
__________________
C++
domain name forum
|