On 11/12/2015 01:15 AM, Walter Bright wrote:

What D does need to do is support catching an std::exception*, or a
class derived from std::exception. I believe we are on solid ground in
not supporting any other C++ types being thrown.

Nor do I believe we need to catch C++ objects with catch(...). Catching
C++ objects will need an explicit catch(std.exception*).

I notice you use a star - did you back off from the idea of defining C++'s std::exception as an extern(C++) class (as opposed to an extern(C++) struct)? -- Andrei

Reply via email to