BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::StdTestAllocatorConfiguration Struct Reference

#include <bsltf_stdtestallocator.h>

Static Public Member Functions

static void setDelegateAllocatorRaw (bslma::Allocator *basicAllocator)
 
static bslma::AllocatordelegateAllocator ()
 

Detailed Description

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.

Member Function Documentation

◆ delegateAllocator()

static bslma::Allocator * bsltf::StdTestAllocatorConfiguration::delegateAllocator ( )
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.

◆ setDelegateAllocatorRaw()

static void bsltf::StdTestAllocatorConfiguration::setDelegateAllocatorRaw ( bslma::Allocator basicAllocator)
static

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


The documentation for this struct was generated from the following file: