[#bsl-PrintTo-09] = xref:bsl.adoc[bsl]::PrintTo :relfileprefix: ../ :mrdocs: `PrintTo` overloads == Synopses Declared in `<bslim_gtestutil.h>` Write the specified `value` to the specified `*stream`, surrounded by double quotes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/PrintTo-00.adoc[PrintTo]( xref:BloombergLP/bslstl/StringRef.adoc[BloombergLP::bslstl::StringRef] const& value, std::ostream* stream); ---- [.small]#xref:bsl/PrintTo-00.adoc[_» more..._]# Write the specified `value` to the specified `*stream`, surrounded by double quotes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/PrintTo-02.adoc[PrintTo]( xref:bsl/string.adoc[string] const& value, std::ostream* stream); ---- [.small]#xref:bsl/PrintTo-02.adoc[_» more..._]# Write the specified `value` to the specified `*stream`, surrounded by double quotes, writing non‐printable characters with 'x...' escapes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/PrintTo-07.adoc[PrintTo]( xref:bsl/wstring.adoc[wstring] const& value, std::ostream* stream); ---- [.small]#xref:bsl/PrintTo-07.adoc[_» more..._]# Write the specified `value` to the specified `*stream`, surrounded by double quotes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void xref:bsl/PrintTo-0f.adoc[PrintTo]( xref:bsl/optional-072.adoc[optional<TYPE>] const& value, std::ostream* stream); ---- [.small]#xref:bsl/PrintTo-0f.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#