[#8E90F44BEB8297FD3F187E290895170B2447D5E8]

Function ipv4_address:: ipv4_address

Construct from a string.

Synopsis

            ipv4_address(core::string_view s);
        

Description

This function constructs an address from the string `s`, which must contain a valid IPv4 address string or else an exception is thrown.

NOTE

For a non-throwing parse function, use parse_ipv4_address .

Exception Safety

Exceptions thrown on invalid input.

Specification

  • 3.2.2. Host (rfc3986)