Boost C++ Libraries Home Libraries People FAQ More

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