![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
Go to the source code of this file.
Classes | |
class | exception_debug |
Macros | |
#define | Ugly_Function_Name __PRETTY_FUNCTION__ |
#define | UglyNamed_ThrowException(message) throw exception_debug(message, __LINE__, Ugly_Function_Name, __FILE__) |
Functions | |
void | test_virtual_destructor () |
int | division (int a, int b) |
void | example_for_throw_debug_exception () |
int | main () |
#define Ugly_Function_Name __PRETTY_FUNCTION__ |
Definition at line 8 of file 006-debug_exception.cpp.
#define UglyNamed_ThrowException | ( | message | ) | throw exception_debug(message, __LINE__, Ugly_Function_Name, __FILE__) |
Definition at line 81 of file 006-debug_exception.cpp.
int division | ( | int | a, |
int | b | ||
) |
void example_for_throw_debug_exception | ( | ) |
Definition at line 93 of file 006-debug_exception.cpp.
int main | ( | ) |
void test_virtual_destructor | ( | ) |
Definition at line 24 of file 006-debug_exception.cpp.