
28 Jun
2007
28 Jun
'07
2:41 a.m.
#include <boost/thread/thread.hpp> #include <iostream> #include <exception> void helloworld() { std::cout << "Hello World!" << std::endl; throw(std::string("err")); } int main() { try { boost::thread thrd(&helloworld); thrd.join(); } catch(...) { std::cout<<"err"; } } -- View this message in context: http://www.nabble.com/Why-can%27t-I-catch-this-exception-in-boost%3A%3Athrea... Sent from the Boost - Users mailing list archive at Nabble.com.