Home | Libraries | People | FAQ | More |
Construct from a string.
ipv4_address( string_view s);
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
.
Type |
Thrown On |
---|---|
|
parse error. |
Name |
Description |
---|---|
|
The string to parse. |