Boost logo

Boost Users :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2006-04-13 18:06:29


Jeremy Stanley wrote:
> As a refresher, this approach won't help...
>
> try
> {
> thread_proc();
> }
> catch(...)
> {
> exception_filter(); // ... because I don't have a stack trace here.
> }

sorry to butt in, but could you pls. explain why? I just suggested something
similar in another thread (and mailing list). exception_filter would look like:

exception_filter()
{
   try {throw;}
   catch(std::exception& e)
   {//...
   }
   catch(whateverelse& e)
   {//...
   }
   // .. etc
}

B.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net