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

== 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/ipv6_address.hpp#L379[boost/url/ipv6_address.hpp,window=blank_]>`

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

=== Description


This hidden friend function writes the
address to an output stream using
standard notation.

Format the address to an output stream

This function writes the address to an
output stream using standard notation.




=== Return Value


The output stream, for chaining.



=== Parameters

|===
| Name | Description 

| *os*
| 
The output stream to write to.

| *addr*
| 
The address to write.

| *os*
| 
The output stream to write to.

| *addr*
| 
The address to write.

|===




