boost::urls::ipv4_address::to_string
Return the address as a string in dotted decimal format
Synopsis
Declared in header <boost/url/ipv4_address.hpp>
template<class StringToken = string_token::return_string>
StringToken::result_type
to_string(StringToken&& token) const;
Description
When called with no arguments, the
return type is std::string
.
Otherwise, the return type and style
of output is determined by which string
token is passed.
assert( ipv4_address(0x01020304).to_string() == "1.2.3.4" );