[#boost-urls-grammar-operator_lshift]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::operator&lt;&lt;
:relfileprefix: ../../../
:mrdocs:

Format a string to an output stream

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L1112[boost&sol;url&sol;grammar&sol;string&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
operator&lt;&lt;(
    std::ostream& os,
    xref:boost/urls/grammar/string_view_base.adoc[string&lowbar;view&lowbar;base] const& s);
----

== Description

Format a string to an output stream

== Return Value

A reference to the output stream, for chaining

== Parameters

[cols=2]
|===
| Name
| Description
| *os*
| The output stream to write to
| *s*
| The string to write
|===


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