Return the number of bytes of the most recent deallocation request.

Synopsis

Declared in <bslma_testallocator.h>

TestAllocator::size_type
lastDeallocateNumBytes() const;

Description

Return the number of bytes of the most recent memory deallocation request. Return 0 if the request was invalid (e.g., deallocating memory not allocated through this allocator).

DEPRECATED: use lastDeallocatedNumBytes instead.

Return Value

byte count of the most recent deallocation, or 0 if invalid

Created with MrDocs