User:D41D8CD98F/Allocator

Encapsulates a memory allocation and deallocation strategy.

Every standard library container that may need to allocate or release storage, including std, does so through an : an object of a class type that satisfies the following requirements.

Requirements
Given
 * , an Allocator type for type
 * , an object of type
 * , the corresponding Allocator type for type (as obtained by rebinding )
 * , a value of type, obtained by calling
 * , a value of type, obtained by conversion from
 * , a value of type, obtained by the expression
 * , a value of type, obtained by the expression or by conversion from
 * , a value of type