Constructors
Synopses
Declared in <bslma_stdtestallocator.h>
Create a proxy that forwards to the default test allocator.
Create a proxy object using the same mechanism as the specified original.
StdTestAllocator(StdTestAllocator const& original);
Create a proxy sharing the same mechanism as the specified rhs.
template<class ANY_TYPE>
StdTestAllocator(StdTestAllocator<ANY_TYPE> const& rhs);
Create a proxy that forwards to the specified mechanism.
StdTestAllocator(Allocator* mechanism);
Parameters
Name |
Description |
original |
The test allocator whose mechanism is shared. |
rhs |
The test allocator whose mechanism is shared. |
mechanism |
The test allocator used as the allocation mechanism. |
Created with MrDocs