Click to See Complete Forum and Search --> : about exception specification


George2
January 27th, 2008, 03:33 AM
Hello everyone,


How do you understand the comments from Bjarne about exception specification?

--------------------
(section 14.6.1 Checking Exception Specifications)

The way to think about exception-specifications is to assume that a function will throw any exception it can. The rules for compile-time checking exception-specifications outlaw easily detected absurdities.
--------------------


thanks in advance,
George