memory
Macros
config.hpp File Reference

Detailed Description

Configuration macros.

Macros

#define FOONATHAN_HAS_EXCEPTION_SUPPORT
 
#define FOONATHAN_THROW(Ex)
 
#define FOONATHAN_HOSTED_IMPLEMENTATION
 
#define FOONATHAN_MEMORY_LOG_PREFIX
 
#define FOONATHAN_MEMORY_VERSION
 The total version number of the form Mmm.
 
#define FOONATHAN_ALIAS_TEMPLATE(Name, ...)
 
#define FOONATHAN_MEMORY_VERSION_MAJOR
 The major version number.
 
#define FOONATHAN_MEMORY_VERSION_MINOR
 The minor version number.
 
#define FOONATHAN_MEMORY_VERSION
 The total version number of the form Mmm.
 
#define FOONATHAN_MEMORY_CHECK_ALLOCATION_SIZE
 Whether or not the allocation size will be checked, i.e.
 
#define FOONATHAN_MEMORY_DEBUG_ASSERT
 Whether or not internal assertions in the library are enabled.
 
#define FOONATHAN_MEMORY_DEBUG_FILL
 Whether or not allocated memory will be filled with special values.
 
#define FOONATHAN_MEMORY_DEBUG_FENCE
 The size of the fence memory, it has no effect if FOONATHAN_MEMORY_DEBUG_FILL is false.
 
#define FOONATHAN_MEMORY_DEBUG_LEAK_CHECK
 Whether or not leak checking is enabled.
 
#define FOONATHAN_MEMORY_DEBUG_POINTER_CHECK
 Whether or not the deallocation functions will check for pointers that were never allocated by an allocator.
 
#define FOONATHAN_MEMORY_DEBUG_DOUBLE_DEALLOC_CHECK
 Whether or not the deallocation functions will check for double free errors.
 
#define FOONATHAN_MEMORY_NAMESPACE_PREFIX
 Whether or not everything is in namespace foonathan::memory.
 
#define FOONATHAN_MEMORY_TEMPORARY_STACK_MODE
 The mode of the automatic foonathan::memory::temporary_stack creation.