boost::urls::ipv6_address::ipv6_address :: Boost Libraries Documentation

# 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

Name | Thrown on
`system_error` | The input failed to parse correctly.

## Parameters

Name | Description
--- | ---
s | The string to parse.
bytes | The value to construct from.
addr | The address to construct from.

## See Also

`is_unspecified`

`parse_ipv6_address`.

Created with MrDocs