ipaddress 1.1.0
|
A template class providing the base functionality for IPv4 addresses. More...
#include <base-v4.hpp>
Public Member Functions | |
constexpr inline ip_version | version () const noexcept |
Retrieves the IP version of the address. | |
constexpr inline size_t | size () const noexcept |
Retrieves the size of the IPv4 address. | |
A template class providing the base functionality for IPv4 addresses.
This class encapsulates the basic properties and operations for IPv4 addresses, such as version identification, size, and conversion from string representations. It is intended to be extended by more specialized IPv4 address classes.
Ext | The extension type that provides additional functionality. |
|
inlinenoexcept |
Retrieves the IP version of the address.
|
inlinenoexcept |
Retrieves the size of the IPv4 address.