This class provides a proxy to the test allocator that is supplied to the BSLMA_TESTALLOCATOR_EXCEPTION_TEST_BEGIN macro. This proxy may be instantiated with TestAllocator, or with a type that supports the same interface as TestAllocator.
Synopsis
Declared in <bslma_testallocator.h>
template<class BSLMA_ALLOC_TYPE>
class TestAllocator_Proxy
: public TestAllocator_ProxyBase
Base Classes
Name |
Description |
This class provides a common base class for the parameterized |
Member Functions
Name |
Description |
|
Create a proxy for the specified |
|
Destroy this proxy object. |
|
Set the allocation limit on the proxied test allocator. |
Non-Member Functions
Name |
Description |
Return, by value, a test allocator proxy for the specified parameterized |
Created with MrDocs