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

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


Construct from an unsigned integer.


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv4_address.hpp#L103[boost/url/ipv4_address.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
explicit
ipv4_address(xref:boost/urls/ipv4_address/uint_type.adoc[uint_type] u) noexcept;
----

=== Description


This function constructs an address from
the unsigned integer `u`, where the most
significant byte forms the first octet
of the resulting address.





=== Parameters

|===
| Name | Description 

| *u*
| 
The integer to construct from.

|===




