G
George2
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.
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.