Definition
An instance A of the data type leda_allocator<T> is a memory allocator according to the C++standard. leda_allocator<T> is the standard compliant interface to the LEDA memory management.
#include < LEDA/allocator.h >
Types
Local types are size_type, difference_type, value_type, pointer, reference, const_pointer, and const_reference.
| template <class T1> | |
| leda_allocator<T>::rebind | allows the construction of a derived allocator:
leda_allocator<T>::template rebind<T1>::other is the type leda_allocator<T1>. |
Creation
| leda_allocator<T> | A | introduces a variable A of type leda_allocator<T>. |
Operations
Implementation
Note that the above class template uses all kinds of modern compiler technology like member templates, partial specialization etc. It runs only on a subset of LEDA's general supported platforms like g++ > 2.95, SGI CC > 7.3.
© Copyright 1995-2002, Algorithmic Solutions Software GmbH. All rights reserved.
2002-10-16