class Geo GeoAllocator

This is the documentation for Enlighten.

class Geo GeoAllocator

template<class>
class Geo::GeoAllocator

 

A type of std::allocator, that passes memory requests through to the Geo heap functions This is used as the default allocator argument for the STL-like GeoMap/GeoList containers.

Typedefs

Name

Description

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.

Functions

Name

Description

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, GeoAllocator< 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.

GeoAllocator()

All functions and typedefs match those required by the C++0x standard.

GeoAllocator(const GeoAllocator< Other > &)

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.



pointer Geo::GeoAllocator< T >::address


public: pointer address
(
    reference x
) const


All functions and typedefs match those required by the C++0x standard.



const_pointer Geo::GeoAllocator< T >::address


public: const_pointer address
(
    const_reference x
) const


All functions and typedefs match those required by the C++0x standard.