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
ipv4_address::operator<<

Format the address to an output stream.

Synopsis

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

friend std::ostream&
operator<<(
    std::ostream& os,
    ipv4_address const& addr);
Description

IPv4 addresses written to output streams are written in their dotted decimal format.

Parameters

Name

Description

os

The output stream.

addr

The address to format.

Convenience header <boost/url.hpp>


PrevUpHomeNext