constexpr bool is_unspecified() const noexcept;
Returns: to_uint() == 0.
constexpr bool is_loopback() const noexcept;
Returns: (to_uint() & 0xFF000000) == 0x7F000000.
constexpr bool is_multicast() const noexcept;
Returns: (to_uint() & 0xF0000000) == 0xE0000000.
constexpr bytes_type to_bytes() const noexcept;
Returns: A representation of the address in network byte order ([defs.net.byte.order]).
constexpr address_v4::uint_type to_uint() const noexcept;
Returns: A representation of the address in host byte order ([defs.host.byte.order]).
template<class Allocator = allocator<char>>
basic_string<char, char_traits<char>, Allocator>
to_string(const Allocator& a = Allocator()) const;
Returns: If successful, the textual representation of the address, determined as if by POSIX inet_ntop when invoked with address family AF_INET. Otherwise basic_string<char, char_traits<char>, Allocator>(a).