Catching C++ Exceptions in D

Elie Morisse via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 5 10:51:21 PST 2016


On Tuesday, 5 January 2016 at 17:23:38 UTC, Walter Bright wrote:
> Function bodies cannot mix catching C++ and D exceptions. (The 
> reason is C++ catch types need to be distinguished from D catch 
> types, and the most straightforward method to deal with that is 
> have a different 'personality' function for functions that 
> catch C++ exceptions.)

why not distinguish C++ exceptions from D ones in the personality 
routine?


More information about the Digitalmars-d mailing list