BloombergLP::bslma::NewDeleteAllocator::NewDeleteAllocator

Create a ("stateless") new-delete-allocator object that wraps the global native operator new and operator delete functions in order to supply memory via the Allocator protocol. Note that all objects of this class share the same underlying resource; hence, this constructor should generally not be invoked directly by clients; instead, consider using the static singleton or allocator (factory) methods, or -- better -- the appropriate ones in Default (see bslma_default for more information).

Synopsis

Declared in <bslma_newdeleteallocator.h>

NewDeleteAllocator();