Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-18 11:37:17


From: "Hamish Mackenzie" <boost_at_[hidden]>
> Now the problem is if you don't know the policy how do you catch the
> exception?

You don't. If you don't know what the "Throws" clause of the function you
just called is, don't try to catch a concrete exception. If you don't know
what the "Effects" clause says (or the "Preconditions", or the "Exception
Safety"), don't call the function at all. ;-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk