Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bsltf::StdTestAllocatorConfiguration Struct Reference

#include <bsltf_stdtestallocator.h>

List of all members.

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.

See Component bsltf_stdtestallocator


Member Function Documentation

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

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

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.


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