amino
Lightweight Robot Utility Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mem.hpp File Reference

C++ Memory Management. More...

#include <memory>
#include <limits>
#include <list>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

class  amino::RegionAllocator< T >
 An STL allocator that allocates out of a memory region. More...
 
struct  amino::RegionAllocator< T >::rebind< U >
 
struct  amino::RegionList< T >
 Typedefs for STL lists using region allocator. More...
 
struct  amino::RegionVector< T >
 Typedefs for STL vector using region allocator. More...
 
struct  amino::RegionMap< K, T, C >
 Typedefs for STL map using region allocator. More...
 

Namespaces

 amino
 amino namespace
 

Functions

void * operator new (size_t n, aa_mem_region_t *reg)
 Allocate memory for an object of a memory region. More...
 

Detailed Description

C++ Memory Management.

Definition in file mem.hpp.

Function Documentation

void* operator new ( size_t  n,
aa_mem_region_t reg 
)
inline

Allocate memory for an object of a memory region.

Do not pass the pointer to delete.

Definition at line 63 of file mem.hpp.