BloombergLP::bslma::operator<<

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

Synopsis

Declared in <bslma_testallocator.h>

t_OS&
operator<<(
    t_OS& stream,
    TestAllocator const& ta);