JX Application Framework
|
Macros | |
#define | _J_MEMORY_BUCKET 0 |
#define | jnew new(__FILE__, __LINE__, _J_MEMORY_BUCKET, true) |
#define | jnew_allow_null new(__FILE__, __LINE__, _J_MEMORY_BUCKET, false) |
#define | jdelete JLocateDelete(__FILE__, __LINE__), delete |
Functions | |
void * | operator new (size_t size, const JUtf8Byte *file, const JUInt32 line, const int type, const bool assert) noexcept |
void * | operator new[] (size_t size, const JUtf8Byte *file, const JUInt32 line, const int type, const bool assert) noexcept |
void | JLocateDelete (const JUtf8Byte *file, const JUInt32 line) |
#define _J_MEMORY_BUCKET 0 |
#define jdelete JLocateDelete(__FILE__, __LINE__), delete |
#define jnew new(__FILE__, __LINE__, _J_MEMORY_BUCKET, true) |
#define jnew_allow_null new(__FILE__, __LINE__, _J_MEMORY_BUCKET, false) |
|
noexcept |
The JCore replacement for operator new. These functions are simply an interface to the appropriate JMemoryManager functions.
2016/01/05: The latest C++ standard, allows "= delete" to be appended to a function declaration. This broke the original "delete" macro.
Base code generated by Codemill v0.1.0