examples: add C++ exception handling example

This commit is contained in:
Ivan Grokhotkov
2018-09-04 10:20:29 +08:00
parent 97b2281c49
commit cb2876ff4e
7 changed files with 142 additions and 0 deletions

View File

@@ -119,4 +119,5 @@ Enabling exception handling normally increases application binary size by a few
If an exception is thrown, but there is no ``catch`` block, the program will be terminated by ``abort`` function, and backtrace will be printed. See :doc:`Fatal Errors <fatal-errors>` for more information about backtraces.
See :example:`system/cpp_exceptions` for an example of C++ exception handling.