Create a proxy object sharing the same mechanism object as the specified rhs. The newly constructed test allocator will compare equal to rhs, even though they are instantiated on different types. Postcondition: this->mechanism() == rhs.mechanism().
Declared in <bslma_stdtestallocator.h>
template<class ANY_TYPE>
StdTestAllocator(StdTestAllocator<ANY_TYPE> const& rhs);
| Name | Description |
|---|---|
| rhs | The test allocator whose mechanism is shared. |