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

Insert a textual representation of the specified bitset `x` into `os`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bitset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHAR&lowbar;TYPE,
    class TRAITS,
    std::size&lowbar;t N&gt;
std::basic&lowbar;ostream&lt;CHAR&lowbar;TYPE, TRAITS&gt;&
operator&lt;&lt;(
    std::basic&lowbar;ostream&lt;CHAR&lowbar;TYPE, TRAITS&gt;& os,
    xref:bsl/bitset.adoc[bitset&lt;N&gt;] const& x);
----


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