Constructors
Declared in <bslma_stdtestallocator.h>
Create a proxy that forwards to the default test allocator.
StdTestAllocator();
» more...
Create a proxy object using the same mechanism as the specified original.
StdTestAllocator(StdTestAllocator const& original);
» more...
Create a proxy sharing the same mechanism as the specified rhs.
template<class ANY_TYPE>
StdTestAllocator(StdTestAllocator<ANY_TYPE> const& rhs);
» more...
Create a proxy that forwards to the specified mechanism.
StdTestAllocator(Allocator* mechanism);
» more...
| 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. |