Sunday, September 5, 2010

Exception Specifications

A function's exception specification of throw() indicates the function does not throw exceptions. If the function does throw an exception, the program will terminate unless some extra measures are taken. Exception specifications have fallen out of favor because of this; although the Standard C++ Library sometimes uses them to indicate their exception guarantees.

No comments:

Post a Comment