A custom std::allocator, that uses simple malloc/free.
This is used in very few cases, such as inside GeoMemory.cpp to track other memory use.
| Name | Description |
|---|---|
| const T * const_pointer | All functions and typedefs match those required by the C++0x standard. |
| const T & const_reference | All functions and typedefs match those required by the C++0x standard. |
| ptrdiff_t difference_type | All functions and typedefs match those required by the C++0x standard. |
| T * pointer | All functions and typedefs match those required by the C++0x standard. |
| T & reference | All functions and typedefs match those required by the C++0x standard. |
| size_t size_type | All functions and typedefs match those required by the C++0x standard. |
| T value_type | All functions and typedefs match those required by the C++0x standard. |
| Name | Description |
|---|---|
| address(reference) | All functions and typedefs match those required by the C++0x standard. |
| address(const_reference) | All functions and typedefs match those required by the C++0x standard. |
| allocate(size_type, GeoAllocatorUnchecked< void >::const_pointer) | All functions and typedefs match those required by the C++0x standard. |
| construct(pointer, const T &) | All functions and typedefs match those required by the C++0x standard. |
| deallocate(pointer, size_type) | All functions and typedefs match those required by the C++0x standard. |
| destroy(pointer) | All functions and typedefs match those required by the C++0x standard. |
| max_size() | All functions and typedefs match those required by the C++0x standard. |
public: pointer address
(
reference x
) const
All functions and typedefs match those required by the C++0x standard.
public: const_pointer address
(
const_reference x
) const
All functions and typedefs match those required by the C++0x standard.
public: pointer allocate
(
size_type n,
GeoAllocatorUnchecked< void >::const_pointer hint
)
All functions and typedefs match those required by the C++0x standard.
public: void construct
(
pointer p,
const T & val
)
All functions and typedefs match those required by the C++0x standard.
public: void deallocate
(
pointer p,
size_type n
)
All functions and typedefs match those required by the C++0x standard.
public: void destroy
(
pointer p
)
All functions and typedefs match those required by the C++0x standard.
public: size_type max_size() const
All functions and typedefs match those required by the C++0x standard.