[cxx-abi-dev] How to detect a forced unwind in a catch block?

Thiago Macieira thiago at kde.org
Tue Sep 6 18:50:05 UTC 2016


Em terça-feira, 6 de setembro de 2016, às 11:38:43 PDT, John McCall escreveu:
> This would be inappropriate; the appropriate solution would be to ask the
> committee for a new function in namespace std that could be implemented
> with abi::__forced_unwind.  I believe that's the chief purpose of that
> function, to allow that sort of functionality to be implemented in the
> future.
> 
> If std::current_exception works, of course, all the better.

 I will post to std-discussion and see if there's a consensus. I'm not sure 
there can be because this is outside of the C++ language: there's no such 
thing as forced unwinds in the standard.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the cxx-abi-dev mailing list