Standard C++ Library Class Reference
void destroy (T*);
};
//
// Specialization
//
class allocator_interface <allocator,void>
{
typedef void* pointer ;
typedef const void* const_pointer ;
};
Alternate Allocator Description
The description for the operations of allocator_interface<T> are the same as for corresponding operations of the standard
allocator, except that allocator_interface members allocate and deallocate call respective functions in allocator , which are in
turn implemented as are the standard allocator functions.
See the Containers section of the Class Reference for a further description of how to use the alternate allocator within a
user-defined container.
See Also
Containers