boost::urls::ipv6_address::ipv6_address

Constructors

Synopses

Declared in <boost/url/ipv6_address.hpp>

Constructor.

constexpr
ipv6_address() = default;
» more...

Constructor.

constexpr
ipv6_address(ipv6_address const& other) = default;
» more...

Construct from a string.

ipv6_address(core::string_view s);
» more...

Construct from an array of bytes.

constexpr
ipv6_address(bytes_type const& bytes) noexcept;
» more...

Construct from an IPv4 address.

ipv6_address(ipv4_address const& addr) noexcept;
» more...

Exceptions

NameThrown on
system_errorThe input failed to parse correctly.

Parameters

NameDescription
sThe string to parse.
bytesThe value to construct from.
addrThe address to construct from.