[#BloombergLP-bslma-operator_lshift]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Write the accumulated state information held in the specified allocator `ta` to the specified `stream` in a reasonable (multi&hyphen;line) format identical to the format produced by `ta&period;print()` and return a reference offering modifiable access to `stream`&period; Output is performed via calls to `stream&period;write(s, count)`, where `write` is a required method of class `t&lowbar;OS`, `s` is a `const char&ast;` holding the formatted output, and `count` is the length of `s` excluding any null terminator&period; Note that `std&colon;&colon;ostream` meets the requirements for `t&lowbar;OS`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
t&lowbar;OS&
operator&lt;&lt;(
    t&lowbar;OS& stream,
    xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator] const& ta);
----


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