core.stdcpp.exception
Interface to C++
- License:
- Boost License 1.0.
- 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_handler f);
- 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_handler f);
- 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;
-
- @nogc this(const(char)* message = "bad exception");
© 1999–2021 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/core_stdcpp_exception.html