19.3 Exceptions

Syntax 19.1: Throwing an Exception
throw expression;
Example:
throw logic_error("illegal future_value parameter");
Purpose: Abandon this function and throw a value to an exception handler.

prev |top |next