Constructors
Synopses
Declared in <bsltf_stdstatefulallocator.h>
Create a StdStatefulAllocator object wrapping the same test allocator as the specified original.
template<class BDE_OTHER_TYPE>
StdStatefulAllocator(StdStatefulAllocator<BDE_OTHER_TYPE, PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION, PROPAGATE_ON_CONTAINER_COPY_ASSIGNMENT, PROPAGATE_ON_CONTAINER_SWAP, PROPAGATE_ON_CONTAINER_MOVE_ASSIGNMENT, IS_ALWAYS_EQUAL> const& original);
Create a StdStatefulAllocator object wrapping the specified allocator.
explicit
StdStatefulAllocator(bslma::Allocator* allocator = 0);
Parameters
Name |
Description |
original |
allocator providing the wrapped allocator to copy |
allocator |
allocator to wrap; uses the default if null |
Created with MrDocs