MyVector
myexceptions.cpp File Reference
#include "myexceptions.h"
#include <cstdlib>
#include <iostream>
Include dependency graph for myexceptions.cpp:

Go to the source code of this file.

Functions

void my_new_handler (void)
 

Function Documentation

◆ my_new_handler()

void my_new_handler ( void  )

Global new exception handler for "new". requires the C++ call set_new_handler( my_new_handler ); in the code to activate it.

Warning
Function stop via std::exit .

Definition at line 7 of file myexceptions.cpp.