ipv6_address

Construct from a string.

Synopsis

void ipv6_address( string_view s);

Declared in file <src/ipv6_address.cpp> at line 43

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)