All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
new.C File Reference

Setup an error handler for the global new operator. More...

Include dependency graph for new.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

void newError ()
 

Variables

void(* old_new_handler )() = std::set_new_handler(newError)
 

Detailed Description

Setup an error handler for the global new operator.

Original source file new.C

Definition in file new.C.