boost::urls::ipv4_address::ipv4_address

Constructors

Synopses

Declared in <boost/url/ipv4_address.hpp>

Constructor.

constexpr
ipv4_address() = default;
» more...

Constructor.

constexpr
ipv4_address(ipv4_address const& other) = default;
» more...

Construct from a string.

explicit
ipv4_address(core::string_view s);
» more...

Construct from an unsigned integer.

explicit
ipv4_address(uint_type u) noexcept;
» more...

Construct from an array of bytes.

explicit
ipv4_address(bytes_type const& bytes) noexcept;
» more...

Exceptions

NameThrown on
system_errorThe input failed to parse correctly.

Parameters

NameDescription
sThe string to parse.
uThe integer to construct from.
bytesThe value to construct from.

See Also

parse_ipv4_address.