FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

new.C File Reference

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


Detailed Description

Setup an error handler for the global new operator.

Definition in file new.C.

#include <new>
#include <iostream>
#include <cstdlib>
Include dependency graph for new.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Functions

void  newError ()

Variables

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