Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
core.stdcpp.exception
Interface to C++
License:
Authors:
Walter Bright
Manu Evans
Source core/stdcpp/exception.d
- alias
terminate_handler
= extern (C++) void function() nothrow @nogc; - nothrow @nogc terminate_handler
set_terminate
(terminate_handlerf
); - nothrow @nogc terminate_handler
get_terminate
(); - nothrow @nogc void
terminate
(); - alias
unexpected_handler
= extern (C++) void function() @nogc; - deprecated nothrow @nogc unexpected_handler
set_unexpected
(unexpected_handlerf
); - deprecated nothrow @nogc unexpected_handler
get_unexpected
(); - deprecated @nogc void
unexpected
(); - nothrow @nogc bool
uncaught_exception
(); - class
exception
; -
- nothrow @nogc this();
- const nothrow @nogc const(char)*
what
();
- class
bad_exception
: core.stdcpp.exception.exception; -
- nothrow @nogc this(const(char)*
message
= "bad exception"); - const nothrow @nogc const(char)*
what
();
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on Sun Nov 17 01:07:07 2024