public member function


default (1)
allocator() throw();
copy (2)
allocator (const allocator& alloc) throw();
template <class U>
  allocator (const allocator<U>& alloc) throw();
default (1)
allocator() nothrow;
copy (2)
allocator (const allocator& alloc) nothrow;
template <class U>
  allocator (const allocator<U>& alloc) nothrow;
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.


Allocator object.

See also