19.3.5 Exception Specifications
- Uncaught exceptions can be dangerous (Ariane rocket)
- Exceptions thrown by a function or method can be specified:
- An empty list denotes that no exceptions are thrown:
void process_products(fstream& fs) throw ()
- A function w/no throw specification can throw any exception
prev
|top
|next