Created
August 24, 2017 07:09
-
-
Save luyao795/81a3a79215de92b5826b3b7787d034c1 to your computer and use it in GitHub Desktop.
Header file for Memory Operations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MEMORYOPERATOR_H | |
#define MEMORYOPERATOR_H | |
#include "FixedSizeAllocator.h" | |
void* operator new(size_t size); | |
void* operator new(size_t size, bool allocation); | |
void* operator new(size_t size, const char* file, const char* func, const unsigned int line); | |
void* operator new[](size_t size); | |
void* operator new[](size_t size, bool allocation); | |
void operator delete(void* pointer); | |
void operator delete(void* pointer, bool allocation); | |
void operator delete(void* pointer, const char* file, const char* func, const unsigned int line); | |
void operator delete[](void* pointer); | |
void operator delete[](void* pointer, bool allocation); | |
#endif // !MEMORYOPERATOR_H |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment