ipv4_address

Construct from a string.

Synopsis

ipv4_address(string_view s);

Declared in file <include/boost/url/ipv4_address.hpp> on line 146

Defined in file <src/ipv4_address.cpp> on line 41

Description

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

For a non-throwing parse function, use parse_ipv4_address.

Exception Safety

Exceptions thrown on invalid input.

Specification