:relfileprefix: ../../
[#boost-urls-operator_lshift]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::operator<<

  


Format the address to an output stream.



=== Synopsis
  

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

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

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

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

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

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

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

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
std::ostream&
xref:boost/urls/operator_lshift-0c.adoc[pass:[operator<<]](
    std::ostream& os,
    xref:boost/urls/url_view_base.adoc[url_view_base] const& u);
----
  
=== Description


IPv4 addresses written to output streams
are written in their dotted decimal format.

Format the address to an output stream.

IPv4 addresses written to output streams
are written in their dotted decimal format.




=== Parameters

|===
| Name | Description 

| *os*
| 
The output stream.

| *addr*
| 
The address to format.

| *a*
| 
The URL to write

| *s*
| 
The decoded view to write

| *u*
| 
The url to write.

|===




