BloombergLP::bslma::TestAllocator::hasFillPattern

Return true if a fill pattern is currently set for this allocator.

Synopsis

Declared in <bslma_testallocator.h>

bool
hasFillPattern() const;

Description

Return true if a fill pattern is currently set for this allocator, and false otherwise. When a fill pattern is set, newly allocated memory is filled with the pattern value.

Return Value

true if a fill pattern is set, and false otherwise