ipaddress 1.1.0
Loading...
Searching...
No Matches
ipv4-address.hpp File Reference

Provides a set of functions and classes for handling IPv4 addresses. More...

#include "base-v4.hpp"

Go to the source code of this file.

Classes

class  ipv4_address_base
 Represents the base class for IPv4 address manipulation. More...
 

Namespaces

namespace  ipaddress
 Namespace dedicated to IP addresses and networks operations.
 

Typedefs

using ipv4_address = ip_address_base<ipv4_address_base>
 Alias for the base class specialized for IPv4 address manipulation.
 

Functions

template<fixed_string FixedString>
consteval inline ipv4_address operator""_ipv4 () noexcept
 User-defined literal for creating an ipv4_address from a fixed string at compile time.
 
consteval inline ipv4_address operator""_ipv4 (unsigned long long value) noexcept
 User-defined literal for creating an ipv4_address from an unsigned long long integer at compile time.
 

Detailed Description

Provides a set of functions and classes for handling IPv4 addresses.

Author
Vladimir Shaleev

Includes functionalities to convert IPv4 addresses to and from various formats, perform comparisons, and query specific properties of the addresses. It serves as a foundational component for network applications that require manipulation and analysis of IPv4 address data.