This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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


pointer Geo::GeoAllocator< T >::allocate


public: pointer allocate
(
    size_type n,
    GeoAllocator< void >::const_pointer hint
)


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


void Geo::GeoAllocator< T >::construct


public: void construct
(
    pointer p,
    const T & val
)


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


void Geo::GeoAllocator< T >::deallocate


public: void deallocate
(
    pointer p,
    size_type n
)


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


void Geo::GeoAllocator< T >::destroy


public: void destroy
(
    pointer p
)


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


Geo::GeoAllocator< T >::GeoAllocator


public: GeoAllocator()


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


Geo::GeoAllocator< T >::GeoAllocator


public: GeoAllocator
(
    const GeoAllocator< Other > &
)


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


size_type Geo::GeoAllocator< T >::max_size


public: size_type max_size() const


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

  • No labels