Boost.URL
Report an Issue

Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Index
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
Boost.URL default
  • Boost.URL
    • default
  • Boost.URL
  • boost::urls::ipv6_address::ipv6_address

boost::urls::ipv6_address::ipv6_address

Construct from an IPv4 address.

Synopsis

Declared in header <boost/url/ipv6_address.hpp>

ipv6_address(ipv4_address const& addr) noexcept;

Description

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

Specification

  • 2.5.5.2. IPv4-Mapped IPv6 Address (rfc4291)

Parameters

Name Description

addr

The address to construct from.

This page was built using the Antora default UI.

The source code for this UI is licensed under the terms of the MPL-2.0 license.

https://github.com/cppalliance/site-docs