|
The Vish Visualization Shell 0.3
Vish
|
Handling irregular occurences in the program without terminating it but instead writing a logfile with extensive information and continuing program execution. More...
#include <elementary/memcore/Irregularity.hpp>
Public Member Functions | |
| Irregularity & | operator<< (const std::type_info &Type) |
| For types. | |
Handling irregular occurences in the program without terminating it but instead writing a logfile with extensive information and continuing program execution.
What is an irregularity? It is some unexpected behavior in the program that can be checked, so it is a kind of expectable occurance that is not believed ever happen. Traditionally the C assert() function or a C++ exception will be used to handle such as case. However, if it is not severe enough to terminate a program workflow, we may just want to write a logfile that allows to inform the developer about the detailed circumstances of the event.