BloombergLP::bslma::AllocatorUtil

Namespace for utility functions on allocators

Synopsis

Declared in <bslma_allocatorutil.h>

struct AllocatorUtil;

Static Member Functions

NameDescription
adapt adapt overloads
allocateBytes Allocate raw memory of the given size and alignment.
allocateObject Allocate raw storage for one or more t_TYPE objects.
assign assign overloads
deallocateBytes Deallocate a block of raw memory previously allocated by allocateBytes.
deallocateObject Deallocate raw storage previously allocated by allocateObject.
deleteObject Destroy the object at p and deallocate its storage.
newObject newObject overloads
swap swap overloads