Use C++ exception model in D

Jacob Carlborg doob at me.com
Thu Apr 10 23:29:36 PDT 2014


On 11/04/14 00:05, deadalnix wrote:

> You want to look at libstdc++-v3/libsupc++/eh_personality.cc in gcc's
> source code.

If I'm to look at some source code I rather look at libc++abi from LLVM.

> The personality function test if the exception is a C++ exception, in
> which case the regular flow apply. If not, the foreign_exception flag is
> set, and some behavior are altered. Basically, for what we are concerned
> with D, only cleanup will be executed (the filter part is irrelevant to D).

Why is the filter part irrelevant?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list