Format the address to an output stream.

Synopsis

Declared in header </boost/url/ipv4_address.hpp#L327[boost/url/ipv4_address.hpp,window=blank_]>

ostream&
operator<<(
    ostream& os,
    const ipv4_address& addr);

Description

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

Return Value

  • ``

Parameters

Name Type

os

``

addr

``