Go to the source code of this file.
Enumerations | |
| enum | throw_type { throw_bool, throw_int, throw_cstr, throw_string, throw_exception, throw_custom_exception } |
Functions | |
| void | throw_bool_func () |
| void | throw_int_func () |
| void | throw_cstr_func () |
| void | throw_string_func () |
| void | throw_exception_func () |
| void | throw_custom_exception_func () |
| std::ostream & | operator<< (std::ostream &os, const raii &unused) |
| void | level2 () |
| void | level1 () |
Variables | |
| throw_type | g_throw_type = throw_exception |
| auto | g_raii_count = 0 |
| enum throw_type |
| Enumerator | |
|---|---|
| throw_bool | |
| throw_int | |
| throw_cstr | |
| throw_string | |
| throw_exception | |
| throw_custom_exception | |
Definition at line 26 of file test_try_catch.cpp.
| void throw_bool_func | ( | ) |
Definition at line 48 of file test_try_catch.cpp.
| void throw_int_func | ( | ) |
Definition at line 52 of file test_try_catch.cpp.
| void throw_cstr_func | ( | ) |
Definition at line 56 of file test_try_catch.cpp.
| void throw_string_func | ( | ) |
Definition at line 60 of file test_try_catch.cpp.
| void throw_exception_func | ( | ) |
Definition at line 64 of file test_try_catch.cpp.
| void throw_custom_exception_func | ( | ) |
Definition at line 68 of file test_try_catch.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const raii & | unused | ||
| ) |
Definition at line 71 of file test_try_catch.cpp.
| void level2 | ( | ) |
Definition at line 80 of file test_try_catch.cpp.
| void level1 | ( | ) |
Definition at line 100 of file test_try_catch.cpp.
| throw_type g_throw_type = throw_exception |
Definition at line 36 of file test_try_catch.cpp.
| auto g_raii_count = 0 |
Definition at line 38 of file test_try_catch.cpp.
1.8.14