Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
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

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


Anchor
a46c9e11cb2904da9215c5bb885d2aff5
a46c9e11cb2904da9215c5bb885d2aff5

pointer Geo::GeoAllocatorUnchecked< T >::address

...

public: pointer address
(
    reference x
) const

...

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


Anchor
a0320e69e75458f54d3145eecbee82365
a0320e69e75458f54d3145eecbee82365

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.


Anchor
ad64b8ef512d1e03aeb52f215acbb4e71
ad64b8ef512d1e03aeb52f215acbb4e71

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.


Anchor
a9eee66a51dfa3a51ca2a76c10865c8f8
a9eee66a51dfa3a51ca2a76c10865c8f8

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.


Anchor
ad0eb83c40d832829d5a025d8b6b5554e
ad0eb83c40d832829d5a025d8b6b5554e

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.


Anchor
ab0b8fc7fe939e419248dafb041a68140
ab0b8fc7fe939e419248dafb041a68140

void Geo::GeoAllocatorUnchecked< T >::destroy

...

public: void destroy
(
    pointer p
)

...

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


Anchor
a087736ba606663d7f1ebc9e2947d0286
a087736ba606663d7f1ebc9e2947d0286

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.