Function operator<<

Format the address to an output stream.

Synopsis

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

std::ostream&
operator<<(
    std::ostream& os,
    const ipv4_address& 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.