BDE 4.14.0 Production release
|
#include <bsltf_stdtestallocator.h>
Static Public Member Functions | |
static void | setDelegateAllocatorRaw (bslma::Allocator *basicAllocator) |
static bslma::Allocator * | delegateAllocator () |
This struct
provides a namespace for functions that manipulate and access the delegate allocator for StdTestAllocator
. The delegate allocator is the allocator to which StdTestAllocator
objects delegate their operations. The provided operations are not thread-safe. Note that this allocator is configured globally as C++03 standard compliant allocators cannot have individually identifiable state.
|
static |
Return the address of the delegate allocator. Note that, this method will initially return &bslma_NewDeleteAllocator::singleton()
if the setDelegatingAllocator
class method has not been called.
|
static |
Set the address of the delegate allocator to the specified basicAllocator
.