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

Name Thrown on
system_error The input failed to parse correctly.

Parameters

Name Description
s The string to parse.
u The integer to construct from.
bytes The value to construct from.

See Also

parse_ipv4_address.

Created with MrDocs