[#boost-urls-ipv4_address-2constructor] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/ipv4_address.adoc[ipv4_address]::ipv4_address :relfileprefix: ../../../ :mrdocs: Constructor. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv4_address.hpp#L76[boost/url/ipv4_address.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/ipv4_address/2constructor-0c.adoc[ipv4_address]() = default; ---- [.small]#xref:boost/urls/ipv4_address/2constructor-0c.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/ipv4_address/2constructor-0d.adoc[ipv4_address](xref:boost/urls/ipv4_address.adoc[ipv4_address] const&) = default; ---- [.small]#xref:boost/urls/ipv4_address/2constructor-0d.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:boost/urls/ipv4_address/2constructor-06.adoc[ipv4_address](xref:boost/urls/ipv4_address/uint_type.adoc[uint_type] u) noexcept; ---- [.small]#xref:boost/urls/ipv4_address/2constructor-06.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:boost/urls/ipv4_address/2constructor-0b.adoc[ipv4_address](xref:boost/urls/ipv4_address/bytes_type.adoc[bytes_type] const& bytes) noexcept; ---- [.small]#xref:boost/urls/ipv4_address/2constructor-0b.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:boost/urls/ipv4_address/2constructor-08.adoc[ipv4_address](core::string_view s); ---- [.small]#xref:boost/urls/ipv4_address/2constructor-08.adoc[_» more..._]# == Exceptions |=== | Name | Thrown on | `system_error` | The input failed to parse correctly. |=== == Parameters |=== | Name | Description | *u* | The integer to construct from. | *bytes* | The value to construct from. | *s* | The string to parse. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#