boost::corosio::make_ipv6_address
Create an IPv6 address from a string.
Synopsis
Declared in <boost/corosio/ipv6_address.hpp>
[[nodiscard]]
capy::io_result<ipv6_address>
make_ipv6_address(std::string_view s) noexcept;
Description
This function attempts to parse the string as an IPv6 address and returns an error code if the string does not contain a valid IPv6 address.
Return Value
The error code, empty on success, and the parsed address — default‐constructed on failure.
|
The return value should not be discarded. |
Parameters
Name |
Description |
s |
The string to parse. |
Created with MrDocs