Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In C++ computer
programming, allocators are an important component of the C++ Standard
Library. The standard library provides several data structures, such as
list and set, commonly referred to as containers. A common trait among
these containers is their ability to change size during the execution of
the program. To achieve this, some form of dynamic memory allocation is
usually required. Allocators handle all the requests for allocation and
deallocation of memory for a given container. The C++ Standard Library
provides general-purpose allocators that are used by default, however,
custom allocators may also be supplied by the programmer.