Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
memory
classes:
allocator
auto_ptr
auto_ptr_ref
raw_storage_iterator
functions:
get_temporary_buffer
return_temporary_buffer
uninitialized_copy
uninitialized_fill
uninitialized_fill_n
allocator
allocator::allocator
allocator::~allocator
member functions:
allocator::address
allocator::allocate
allocator::construct
allocator::deallocate
allocator::destroy
allocator::max_size


allocator::allocator

public member function
allocator ( ) throw();
allocator ( const allocator& ) throw();
template <class U>
  allocator ( const allocator<U>& ) throw();

Construct allocator object

Constructs an allocator object.

The standard allocator has no data members and is not required to perform any initialization, but the three constructor versions must be defined (even if they do nothing) to allow for copy-constructions from allocator objects of other types.

See also