[#02F7282B6DD61C36C647E88EB5025179BC600E0C]

Function ipv6_address:: ipv6_address

Construct from a string.

Synopsis

            ipv6_address(core::string_view s);
        

Description

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

NOTE

For a non-throwing parse function, use parse_ipv6_address .

Exception Safety

Exceptions thrown on invalid input.

Specification

  • 3.2.2. Host (rfc3986)