[#bsl-operator_lshift-05b] = xref:bsl.adoc[bsl]::operator<< :relfileprefix: ../ :mrdocs: Stream insertion operators == Synopses Declared in `<bslstl_bitset.h>` Write the string specified by `str` into the output stream specified by `os`, and return `os`. If the string is shorter than `os.width()`, then it is padded to `os.width()` with the current `os.fill()` character. The padding, if any, is output after the string (on the right) if `os.flags() | ios::left` is non‐zero and before the string otherwise. This function will do nothing unless `os.good()` is true on entry. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS, class ALLOCATOR> std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& xref:bsl/operator_lshift-05f.adoc[operator<<]( std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& os, xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>] const& str); ---- [.small]#xref:bsl/operator_lshift-05f.adoc[_» more..._]# Print to the specified `stream` the address of the shared object referred to by the specified `rhs` shared pointer and return a reference to the modifiable `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class CHAR_TRAITS, class ELEMENT_TYPE> std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& xref:bsl/operator_lshift-02.adoc[operator<<]( std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& stream, xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>] const& rhs); ---- [.small]#xref:bsl/operator_lshift-02.adoc[_» more..._]# Insert a textual representation of the specified bitset `x` into `os`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR_TYPE, class TRAITS, std::size_t N> std::basic_ostream<CHAR_TYPE, TRAITS>& xref:bsl/operator_lshift-01.adoc[operator<<]( std::basic_ostream<CHAR_TYPE, TRAITS>& os, xref:bsl/bitset.adoc[bitset<N>] const& x); ---- [.small]#xref:bsl/operator_lshift-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#