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. It returns an error code if the string holds no 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