On 9/25/14, 4:55 AM, Kagamin wrote:
On Wednesday, 24 September 2014 at 15:07:05 UTC, Andrei Alexandrescu wrote:I wonder how difficult would be to create a wrapper class CppException for everything derived from C++ std::exception.Why not catch std::exception directly? Then you could generate code, just like C++ compiler does it.
That would be a language change - right now D can only catch Exception objects.
Andrei
