Functions | Variables
new_delete.h File Reference

Go to the source code of this file.

Functions

void * operator new[] (std::size_t size)
 
void * operator new (std::size_t size)
 
void operator delete (void *ptr, std::size_t) throw ()
 
void operator delete (void *ptr) throw ()
 
void operator delete[] (void *ptr) throw ()
 
void operator delete[] (void *ptr, std::size_t) throw ()
 

Variables

size_t g_new_throws_bad_alloc = 0
 

Function Documentation

◆ operator new[]()

void* operator new[] ( std::size_t  size)

Definition at line 70 of file new_delete.h.

◆ operator new()

void* operator new ( std::size_t  size)

Definition at line 74 of file new_delete.h.

◆ operator delete() [1/2]

void operator delete ( void *  ptr,
std::size_t   
)
throw (
)

Definition at line 78 of file new_delete.h.

◆ operator delete() [2/2]

void operator delete ( void *  ptr)
throw (
)

Definition at line 82 of file new_delete.h.

◆ operator delete[]() [1/2]

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

Definition at line 86 of file new_delete.h.

◆ operator delete[]() [2/2]

void operator delete[] ( void *  ptr,
std::size_t   
)
throw (
)

Definition at line 90 of file new_delete.h.

Variable Documentation

◆ g_new_throws_bad_alloc

size_t g_new_throws_bad_alloc = 0

Definition at line 39 of file new_delete.h.