Protium
Math and Design Features
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
SmallObjectAllocator.cxx File Reference
Include dependency graph for SmallObjectAllocator.cxx:

Go to the source code of this file.

Functions

void * DefaultAllocator (std::size_t numBytes, bool doThrow)
 
void DefaultDeallocator (void *p)
 
std::size_t GetOffset (std::size_t numBytes, std::size_t alignment)
 

Function Documentation

void* DefaultAllocator ( std::size_t  numBytes,
bool  doThrow 
)

Definition at line 8 of file SmallObjectAllocator.cxx.

void DefaultDeallocator ( void *  p)

Definition at line 12 of file SmallObjectAllocator.cxx.

std::size_t GetOffset ( std::size_t  numBytes,
std::size_t  alignment 
)
inline

Definition at line 4 of file SmallObjectAllocator.cxx.