Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to exception handling ddoc in c++ interop #3821

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions spec/cpp_interface.dd
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down