Set the allocation limit on the proxied test allocator.
Declared in <bslma_testallocator.h>
virtual
void
setAllocationLimit(bsls::Types::Int64 limit) const override;
Set the number of valid allocation requests before an exception is to be thrown for the proxied test allocator to the specified limit. If limit is less than 0, no exception is to be thrown.
| Name | Description |
|---|---|
| limit | The allocation limit to set on the proxied allocator. |