parse_ipv6_address

Parse a string containing an IPv6 address.

Synopsis

result<ipv6_address> parse_ipv6_address( string_view s) noexcept;

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

Description

This function attempts to parse the string as an IPv6 address and returns a result containing the address upon success, or an error code if the string does not contain a valid IPv6 address.

Exception Safety

Throws nothing.