22 #if !defined(XERCESC_INCLUDE_GUARD_XMEMORY_HPP)
23 #define XERCESC_INCLUDE_GUARD_XMEMORY_HPP
25 #include <xercesc/util/XercesDefs.hpp>
28 XERCES_CPP_NAMESPACE_BEGIN
54 void*
operator new(
size_t size);
56 #if defined(XERCES_MFC_SUPPORT)
64 void*
operator new(
size_t size,
const char* file,
int line);
72 void operator delete(
void* p,
const char* file,
int line);
90 void*
operator new(
size_t size,
void* ptr);
97 void operator delete(
void* p);
100 #if !defined(XERCES_NO_MATCHING_DELETE_OPERATOR)
115 void operator delete(
void* p,
void* ptr);
135 #if defined(XERCES_NEED_XMEMORY_VIRTUAL_DESTRUCTOR)
142 XERCES_CPP_NAMESPACE_END
Configurable memory manager.
Definition: MemoryManager.hpp:39
XMemory()
Protected default constructor.
Definition: XMemory.hpp:130
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40