Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
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:
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");

Copyright © 1999-2020 by the D Language Foundation | Page generated by Ddoc on Mon Mar 9 06:16:34 2020