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

Stream insertion operators

== Synopses

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1495[boost&sol;url&sol;authority&lowbar;view&period;hpp]&gt;`

Format the address to an output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0f6.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/ipv6_address.adoc[ipv6&lowbar;address] const& addr);
----

[.small]#xref:boost/urls/operator_lshift-0f6.adoc[_» more&period;&period;&period;_]#

Format the address to an output stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0a.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/ipv4_address.adoc[ipv4&lowbar;address] const& addr);
----

[.small]#xref:boost/urls/operator_lshift-0a.adoc[_» more&period;&period;&period;_]#

Format the string with percent&hyphen;decoding applied to the output stream


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

[.small]#xref:boost/urls/operator_lshift-034.adoc[_» more&period;&period;&period;_]#

Format the url to the output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0c.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/url_view_base.adoc[url&lowbar;view&lowbar;base] const& u);
----

[.small]#xref:boost/urls/operator_lshift-0c.adoc[_» more&period;&period;&period;_]#

Format the encoded authority to the output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0d.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/authority_view.adoc[authority&lowbar;view] const& a);
----

[.small]#xref:boost/urls/operator_lshift-0d.adoc[_» more&period;&period;&period;_]#

Format to an output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-09.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/params_encoded_base.adoc[params&lowbar;encoded&lowbar;base] const& qp);
----

[.small]#xref:boost/urls/operator_lshift-09.adoc[_» more&period;&period;&period;_]#

Format to an output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0b.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/params_base.adoc[params&lowbar;base] const& qp);
----

[.small]#xref:boost/urls/operator_lshift-0b.adoc[_» more&period;&period;&period;_]#

Format to an output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-038.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/segments_encoded_base.adoc[segments&lowbar;encoded&lowbar;base] const& ps);
----

[.small]#xref:boost/urls/operator_lshift-038.adoc[_» more&period;&period;&period;_]#

Format to an output stream


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0f4.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:boost/urls/segments_base.adoc[segments&lowbar;base] const& ps);
----

[.small]#xref:boost/urls/operator_lshift-0f4.adoc[_» more&period;&period;&period;_]#

== Return Value

* The output stream, for chaining&period;
* The output stream&period;
* A reference to the output stream, for chaining
* A reference to the output stream&period;

== Parameters

[cols=2]
|===
| Name
| Description
| *os*
| The output stream to write to&period;
| *addr*
| The address to write&period;
| *s*
| The decoded view to write
| *u*
| The url to write&period;
| *a*
| The URL to write
| *qp*
| The params to write
| *ps*
| The object to format&period;
|===


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