As discussed.
Lars, could I get you to apply this/contact the boost list as you see
fit?
I note that there are a total of 34 throws in the boost libs
$ grep -r 'throw ' boost | grep -c -v ChangeLog
--
Angus
Index: boost/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/ChangeLog,v
retrieving revision 1.41
diff -u -p -r1.41 ChangeLog
--- boost/ChangeLog 26 Sep 2003 14:27:17 -0000 1.41
+++ boost/ChangeLog 6 Oct 2003 18:27:09 -0000
@@ -1,3 +1,7 @@
+2003-10-03 Angus Leeming <[EMAIL PROTECTED]>
+
+ * boost/any.hpp: change the throw to boost::throw_exception.
+
2003-09-26 Lars Gullik Bjønnes <[EMAIL PROTECTED]>
* boost/test/detail/nullstream.hpp: new file
Index: boost/boost/any.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/any.hpp,v
retrieving revision 1.4
diff -u -p -r1.4 any.hpp
--- boost/boost/any.hpp 3 Mar 2003 15:53:40 -0000 1.4
+++ boost/boost/any.hpp 6 Oct 2003 18:27:10 -0000
@@ -171,7 +171,7 @@ namespace boost
{
const ValueType * result = any_cast<ValueType>(&operand);
if(!result)
- throw bad_any_cast();
+ boost::throw_exception(bad_any_cast());
return *result;
}