Restrictions On Exception Handling

Any of the functions defined in the EWL C++ may report a failure by throwing an exception. No destructor operation defined in the EWL C++ will throw an exception.

The C Style library functions all have a throw() exception-specification. This allows implementations to make performance optimizations based on the absence of exceptions at runtime.

The functions qsort() and bsearch() meet this condition. In particular, they can report a failure to allocate storage by throwing an exception of type bad_alloc, or a class derived from bad_alloc.