:relfileprefix: ../../../ [#boost-urls-authority_view-08friend-08] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::operator<< Format the encoded authority to the output stream === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- friend std::ostream& operator<<( std::ostream& os, xref:boost/urls/authority_view.adoc[authority_view] const& a); ---- === Description This hidden friend function serializes the encoded URL to the output stream. [,cpp] ---- authority_view a( "www.example.com" ); std::cout << a << std::endl; ----