From e70d6ba1b715f3a3d099c9c986b51d6da58eb2bf Mon Sep 17 00:00:00 2001 From: Emmanuel Nyarko Date: Tue, 30 Apr 2024 23:45:39 +0000 Subject: [PATCH] update to exception handling ddoc in c++ interop --- spec/cpp_interface.dd | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/spec/cpp_interface.dd b/spec/cpp_interface.dd index 739d043e9d..dc0cdc665a 100644 --- a/spec/cpp_interface.dd +++ b/spec/cpp_interface.dd @@ -968,14 +968,7 @@ $(H2 $(LNAME2 exception-handling, Exception Handling)) $(P Exception interoperability is a work in progress.) - $(P At present, C++ exceptions cannot be caught in or thrown from D, and D - exceptions cannot be caught in or thrown from C++. Additionally, objects - in C++ stack frames are not guaranteed to be destroyed when unwinding the - stack due to a D exception, and vice versa.) - - $(P The plan is to support all of the above except throwing D exceptions - directly in C++ code (but they will be throwable indirectly by calling into - a D function with C++ linkage).) + $( there's some improvements in exceptions $(SECTION2 $(LNAME2 comparing-d-immutable-and-const-with-cpp-const, Comparing D Immutable and Const with C++ Const),