:relfileprefix: ../../../
[#boost-urls-ipv4_address-2constructor]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/ipv4_address.adoc[pass:[ipv4_address]]::ipv4_address

== Members



Constructor.


[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/ipv4_address/2constructor-0c.adoc[pass:[ipv4_address]]() = default;
  xref:boost/urls/ipv4_address/2constructor-0c.adoc[pass:c,q,m[*_» more..._*]]
----



Constructor.


[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
xref:boost/urls/ipv4_address/2constructor-0d.adoc[pass:[ipv4_address]](xref:boost/urls/ipv4_address.adoc[ipv4_address] const&) = default;
  xref:boost/urls/ipv4_address/2constructor-0d.adoc[pass:c,q,m[*_» more..._*]]
----



Construct from an unsigned integer.


[source,cpp,subs="verbatim,macros,-callouts"]
----
explicit
xref:boost/urls/ipv4_address/2constructor-06.adoc[pass:[ipv4_address]](xref:boost/urls/ipv4_address/uint_type.adoc[uint_type] u) noexcept;
  xref:boost/urls/ipv4_address/2constructor-06.adoc[pass:c,q,m[*_» more..._*]]
----



Construct from an array of bytes.


[source,cpp,subs="verbatim,macros,-callouts"]
----
explicit
xref:boost/urls/ipv4_address/2constructor-0f.adoc[pass:[ipv4_address]](xref:boost/urls/ipv4_address/bytes_type.adoc[bytes_type] const& bytes) noexcept;
  xref:boost/urls/ipv4_address/2constructor-0f.adoc[pass:c,q,m[*_» more..._*]]
----



Construct from a string.


[source,cpp,subs="verbatim,macros,-callouts"]
----
explicit
xref:boost/urls/ipv4_address/2constructor-08.adoc[pass:[ipv4_address]](core::string_view s);
  xref:boost/urls/ipv4_address/2constructor-08.adoc[pass:c,q,m[*_» more..._*]]
----

