[#BloombergLP-bslma-TestAllocator-hasFillPattern]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::hasFillPattern
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
hasFillPattern() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
