Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 41715b1c50.
PrevUpHomeNext
authority_view::operator<<

Format the encoded authority to the output stream.

Synopsis

Defined in header <boost/url/authority_view.hpp>

friend std::ostream&
operator<<(
    std::ostream& os,
    authority_view const& a);
Description

This function serializes the encoded URL to the output stream.

Example
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

Convenience header <boost/url.hpp>


PrevUpHomeNext