- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# FMath/FMAllocator.h File Reference

The file contains the simple_allocator class and some export memory management functions. More...

`#include <new>`

Go to the source code of this file.

## Namespaces
namespace | fm
## Typedefs
typedef void *(* | fm::AllocateFunc )(size_t size)
| An allocation function type.
typedef void(* | fm::FreeFunc )(void *buffer)
| A deallocation function type.
## Functions
FCOLLADA_EXPORT void | fm::SetAllocationFunctions (AllocateFunc a, FreeFunc f)
| Sets the FCollada memory allocation / deallocation functions.
FCOLLADA_EXPORT void * | fm::Allocate (size_t byteCount)
| Allocates a requested amount of memory.
FCOLLADA_EXPORT void | fm::Release (void *buffer)
| Releases a memory buffer.
template<class Type1>
void | fm::Construct (Type1 *o)
| Construct the object at a given pointer.
template<class Type1, class Type2>
void | fm::Construct (Type1 *o, const Type2 &value)
| Construct the object at a given pointer.

## Detailed Description

The file contains the simple_allocator class and some export memory management functions.