GRASS GIS 7 Programmer's Manual  7.0.2(2015)-r00000
mm.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <iostream>
#include <grass/iostream/mm.h>
Include dependency graph for mm.cpp:

Go to the source code of this file.

Macros

#define MM_DEBUG   if(0)
 

Functions

void * operator new[] (size_t sz) throw (std::bad_alloc)
 
void * operator new (size_t sz) throw (std::bad_alloc)
 
void operator delete (void *ptr) throw ()
 
void operator delete[] (void *ptr) throw ()
 

Variables

MM_register MM_manager
 

Macro Definition Documentation

#define MM_DEBUG   if(0)

Definition at line 51 of file mm.cpp.

Referenced by operator delete(), operator delete[](), operator new(), and operator new[]().

Function Documentation

void operator delete ( void *  ptr)
throw (
)

Definition at line 382 of file mm.cpp.

References MM_DEBUG, and MM_manager.

void operator delete[] ( void *  ptr)
throw (
)

Definition at line 422 of file mm.cpp.

References MM_DEBUG, and MM_manager.

void* operator new ( size_t  sz)
throw (std::bad_alloc
)

Definition at line 330 of file mm.cpp.

References MM_DEBUG, and MM_manager.

void* operator new[] ( size_t  sz)
throw (std::bad_alloc
)

Definition at line 279 of file mm.cpp.

References MM_DEBUG, and MM_manager.

Variable Documentation

MM_register MM_manager