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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ip::address_v4::operator<<

Output an address as a string.

template<
    typename Elem,
    typename Traits>
std::basic_ostream< Elem, Traits > & operator<<(
    std::basic_ostream< Elem, Traits > & os,
    const address_v4 & addr);

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

Parameters

os

The output stream to which the string will be written.

addr

The address to be written.

Return Value

The output stream.


PrevUpHomeNext