This is the documentation for Enlighten.

class Geo GeoAllocatorUnchecked

template<class T>
class Geo::GeoAllocatorUnchecked

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.

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


pointer Geo::GeoAllocatorUnchecked< T >::address


public: pointer address
(
    reference x
) const


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


const_pointer Geo::GeoAllocatorUnchecked< T >::address


public: const_pointer address
(
    const_reference x
) const


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


pointer Geo::GeoAllocatorUnchecked< T >::allocate


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


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


void Geo::GeoAllocatorUnchecked< T >::construct


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


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


void Geo::GeoAllocatorUnchecked< T >::deallocate


public: void deallocate
(
    pointer p,
    size_type n
)


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


void Geo::GeoAllocatorUnchecked< T >::destroy


public: void destroy
(
    pointer p
)


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


size_type Geo::GeoAllocatorUnchecked< T >::max_size


public: size_type max_size() const


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