Set the allocation limit on the proxied test allocator.
Synopsis
Declared in <bslma_testallocator.h>
virtual
void
setAllocationLimit(bsls::Types::Int64 limit) const override;
Description
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.
Parameters
Name |
Description |
limit |
The allocation limit to set on the proxied allocator. |
Created with MrDocs