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 2b5eb21199.
PrevUpHomeNext

ip::basic_endpoint::operator<<

Output an endpoint as a string.

template<
    typename Elem,
    typename Traits,
    typename InternetProtocol>
std::basic_ostream< Elem, Traits > & operator<<(
    std::basic_ostream< Elem, Traits > & os,
    const basic_endpoint< InternetProtocol > & 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