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.

Synopsis

Declared in <bsltf_stdtestallocator.h>

struct StdTestAllocatorConfiguration;

Static Member Functions

Name

Description

delegateAllocator

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.

setDelegateAllocatorRaw

Set the address of the delegate allocator to the specified basicAllocator.

Created with MrDocs