[#bsl-quoted-04]
= xref:bsl.adoc[bsl]::quoted
:relfileprefix: ../
:mrdocs:

Return a streamable object that quotes the specified `value`&period;

== Synopses

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

Return a streamable object that quotes the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CHAR&lowbar;TYPE,
    class t&lowbar;CHAR&lowbar;TRAITS,
    class t&lowbar;ALLOC&gt;
xref:BloombergLP/bslstl/IoManip_QuotedStringFormatter.adoc[BloombergLP::bslstl::IoManip&lowbar;QuotedStringFormatter&lt;t&lowbar;CHAR&lowbar;TYPE, t&lowbar;CHAR&lowbar;TRAITS, t&lowbar;ALLOC&gt;]
xref:bsl/quoted-0c.adoc[quoted](
    xref:bsl/basic_string-0faf.adoc[bsl::basic&lowbar;string&lt;t&lowbar;CHAR&lowbar;TYPE, t&lowbar;CHAR&lowbar;TRAITS, t&lowbar;ALLOC&gt;]& value,
    t&lowbar;CHAR&lowbar;TYPE delim = t&lowbar;CHAR&lowbar;TYPE(&apos;&quot;&apos;),
    t&lowbar;CHAR&lowbar;TYPE escape = t&lowbar;CHAR&lowbar;TYPE(&apos;&bsol;&bsol;&apos;));
----

[.small]#xref:bsl/quoted-0c.adoc[_» more&period;&period;&period;_]#

Return a streamable object that quotes the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CHAR&lowbar;TYPE,
    class t&lowbar;CHAR&lowbar;TRAITS,
    class t&lowbar;ALLOC&gt;
decltype(auto)
xref:bsl/quoted-03.adoc[quoted](
    xref:bsl/basic_string-0faf.adoc[bsl::basic&lowbar;string&lt;t&lowbar;CHAR&lowbar;TYPE, t&lowbar;CHAR&lowbar;TRAITS, t&lowbar;ALLOC&gt;] const& value,
    t&lowbar;CHAR&lowbar;TYPE delim = t&lowbar;CHAR&lowbar;TYPE(&apos;&quot;&apos;),
    t&lowbar;CHAR&lowbar;TYPE escape = t&lowbar;CHAR&lowbar;TYPE(&apos;&bsol;&bsol;&apos;));
----

[.small]#xref:bsl/quoted-03.adoc[_» more&period;&period;&period;_]#

== Return Value

* streamable object that quotes `value` for insertion or extraction
* streamable object that quotes `value` for insertion into a stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| string to quote
| *delim*
| delimiter character surrounding the quoted string
| *escape*
| escape character used within the quoted string
|===


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