[#BloombergLP-balst-StackTraceTestAllocator-reportBlocksInUse]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::reportBlocksInUse
:relfileprefix: ../../../
:mrdocs:

Write a report to the specified `ostream`, reporting the unique call&hyphen;stacks for each block that has been allocated and has not yet been freed&period; If `ostream` is not specified, the value of `ostream` passed to the last call to `setOstream` will be used&period; If `setOstream` was never called, `bsl&colon;&colon;cerr` will be used&period;

== Synopsis

Declared in `&lt;balst&lowbar;stacktracetestallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reportBlocksInUse(std::ostream* ostream = 0) const;
----


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