Share via


allocator_base Members

Reference

Constructors

allocator_base

Constructs an object of type allocator_base.

TypeDefs

const_pointer

A type that provides a constant pointer to the type of object managed by the allocator.

const_reference

A type that provides a constant reference to type of object managed by the allocator.

difference_type

A signed integral type that can represent the difference between values of pointers to the type of object managed by the allocator.

pointer

A type that provides a pointer to the type of object managed by the allocator.

reference

A type that provides a reference to the type of object managed by the allocator.

size_type

An unsigned integral type that can represent the length of any sequence that an object of template class allocator_base can allocate.

value_type

A type that is managed by the allocator.

Member Functions

_Charalloc

Allocates storage for an array of type char.

_Chardealloc

Frees storage for the array containing elements of type char.

address

Finds the address of an object whose value is specified.

allocate

Allocates a block of memory large enough to store at least some specified number of elements.

construct

Constructs a specific type of object at a specified address that is initialized with a specified value.

deallocate

Frees a specified number of objects from storage beginning at a specified position.

destroy

Calls an objects destructor without deallocating the memory where the object was stored.

max_size

Returns the number of elements of type Type that could be allocated by an object of class allocator before the free memory is used up.

See Also

Reference

allocator_base Class