boost::urls::ipv4_address::ipv4_address

Constructors

Synopses

Constructor.

constexpr
ipv4_address() = default;

Construct from a string.

explicit
ipv4_address(core::string_view s);

Construct from an unsigned integer.

explicit
ipv4_address(uint_type u) noexcept;

Construct from an array of bytes.

explicit
ipv4_address(bytes_type const& bytes) noexcept;

Constructor.

constexpr
ipv4_address(ipv4_address const&) = default;

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

Created with MrDocs