:relfileprefix: ../../
[#EB6C3772F675B922ADFFB5562DEA6655236A6F9B]

= Function operator<<

pass:v,q[Format the encoded authority to the output stream]


== Synopsis

Declared in header `</boost/url/authority_view.hpp#L1386[boost/url/authority_view.hpp,window=blank_]>`

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

== Description

pass:v,q[This function serializes the encoded URL] pass:v,q[to the output stream.]

=== Example
[,cpp]
----
authority_view a( "www.example.com" );

std::cout << a << std::endl;
----



== Return Value

* `` 


== Parameters

|===
| Name | Type 

| *os*
| ``

| *a*
| ``

|===



