|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-07-30 09:00:55
The documentation is not yet complete in that regard, though it is on my
to-do list. Here's the current situation:
- In dynamic_bitset functions where an exception is thrown, the
documentation says so.
- In functions that do not have a throw statement, the documentation
says nothing.
So for completeness, I beleive two things need to be added:
- Throws clauses in functions that can indirectly throw, such
as constructors. One complication: like the STL containers, the
allocator is a template parameter... and the allocator requirements
do not specify the kind of exception thrown :( Is there an
"accepted" way to deal with this?
- "Throws: nothing" for the rest.
On Tue, 30 Jul 2002, Peter Dimov wrote:
pdimov> AFAICS, no dynamic_bitset operations are documented as "Throws: nothing", is
pdimov> this intentional?
Regards,
Jeremy
----------------------------------------------------------------------
Jeremy Siek http://php.indiana.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk