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

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


Format the address to an output stream.


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv4_address.hpp#L327[boost/url/ipv4_address.hpp,window=blank_]>`

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

== Description


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.

|===




