BloombergLP::bslma::Default::defaultAllocator

Return the address of the default allocator and disable all subsequent calls to the setDefaultAllocator method. Note that prior to the first call to setDefaultAllocator or setDefaultAllocatorRaw methods, the address of the default allocator is that of the NewDeleteAllocator singleton. Also note that subsequent calls to setDefaultAllocatorRaw method are not disabled by this method.

Synopsis

Declared in <bslma_default.h>

static
Allocator*
defaultAllocator();