...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct from a string.
ipv6_address( core::string_view s);
This function constructs an address from the string s
,
which must contain a valid IPv6 address string or else an exception is
thrown.
For a non-throwing parse function, use parse_ipv6_address
.
Exceptions thrown on invalid input.
Type |
Thrown On |
---|---|
|
The input failed to parse correctly. |
Name |
Description |
---|---|
|
The string to parse. |