Catching C++ std::exception in D

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 12 00:59:37 PST 2015


On 2015-11-12 07:50, Walter Bright wrote:

> 3. Be able to catch in D code an std::exception* or a C++ class derived
> from that.

In would be nice if we were able to catch Objective-C exceptions as well 
(it uses the same exception handling as C++). They have their own tree 
of exception classes which do not inherit from std::exception. We don't 
need to support this right away but it would be nice to avoid any 
artificial limitations preventing this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list