[#boost-urls-authority_view-08friend-08] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::operator<< :relfileprefix: ../../../ :mrdocs: Format the encoded authority to the output stream == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1375[boost/url/authority_view.hpp]>` [source,cpp,subs="verbatim,replacements,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. === Example [,cpp] ---- authority_view a( "www.example.com" ); std::cout << a << std::endl; ---- == Return Value A reference to the output stream, for chaining == Parameters |=== | Name | Description | *os* | The output stream to write to | *a* | The URL to write |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#