Set the fill pattern for newly allocated memory to pattern.

Synopsis

Declared in <bslma_testallocator.h>

void
setFillPattern(bsls::Types::Uint64 pattern);

Description

Set the fill pattern for this test allocator to the specified 64‐bit pattern. Newly allocated memory will be filled with the specified pattern value. Note that the fill pattern, if set, is applied to the entire user segment of allocated memory blocks.

Parameters

Name

Description

pattern

The 64‐bit pattern used to fill newly allocated memory.

Created with MrDocs