[#boost-urls-ipv6_address-2constructor] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/ipv6_address.adoc[ipv6_address]::ipv6_address :relfileprefix: ../../../ :mrdocs: Constructor. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv6_address.hpp#L103[boost/url/ipv6_address.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/ipv6_address/2constructor-04.adoc[ipv6_address]() = default; ---- [.small]#xref:boost/urls/ipv6_address/2constructor-04.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/ipv6_address/2constructor-06.adoc[ipv6_address](xref:boost/urls/ipv6_address.adoc[ipv6_address] const&) = default; ---- [.small]#xref:boost/urls/ipv6_address/2constructor-06.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/ipv6_address/2constructor-0f.adoc[ipv6_address](xref:boost/urls/ipv6_address/bytes_type.adoc[bytes_type] const& bytes) noexcept; ---- [.small]#xref:boost/urls/ipv6_address/2constructor-0f.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/ipv6_address/2constructor-08.adoc[ipv6_address](xref:boost/urls/ipv4_address.adoc[ipv4_address] const& addr) noexcept; ---- [.small]#xref:boost/urls/ipv6_address/2constructor-08.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/ipv6_address/2constructor-00.adoc[ipv6_address](core::string_view s); ---- [.small]#xref:boost/urls/ipv6_address/2constructor-00.adoc[_» more..._]# == Description Default constructed objects represent the unspecified address. * link:https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.2[2.5.2. The Unspecified Address] == Exceptions |=== | Name | Thrown on | `system_error` | The input failed to parse correctly. |=== == Parameters |=== | Name | Description | *bytes* | The value to construct from. | *addr* | The address to construct from. | *s* | The string to parse. |=== == See Also xref:boost/urls/ipv6_address/is_unspecified.adoc[is_unspecified] [.small]#Created with https://www.mrdocs.com[MrDocs]#