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 16de79220c.
PrevUpHomeNext

local::basic_endpoint::operator<<

Output an endpoint as a string.

template<
    typename Elem,
    typename Traits,
    typename Protocol>
std::basic_ostream< Elem, Traits > & operator<<(
    std::basic_ostream< Elem, Traits > & os,
    const basic_endpoint< Protocol > & endpoint);

Used to output a human-readable string for a specified endpoint.

Parameters

os

The output stream to which the string will be written.

endpoint

The endpoint to be written.

Return Value

The output stream.


PrevUpHomeNext