Documentation of memory

( foonathan/memory)

config.hpp File Reference

Detailed Description

Configuration macros.

Macros

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