Construct from an IPv4 address.

Synopsis

Declared in header </boost/url/ipv6_address.hpp#L141[boost/url/ipv6_address.hpp,window=blank_]>

ipv6_address(const ipv4_address& addr) noexcept;

Description

This function constructs an IPv6 address from the IPv4 address addr. The resulting address is an IPv4-Mapped IPv6 Address.

Return Value

  • void

Parameters

Name Type

addr

``