2
3
4
5
6
7
8
9
10
11
12
14#ifndef IPADDRESS_IPV4_NETWORK_HPP
15#define IPADDRESS_IPV4_NETWORK_HPP
23
24
25
26
27
30 using ip_address_type = ipv4_address;
43
44
45
46
47
48
49
52#ifdef IPADDRESS_NONTYPE_TEMPLATE_PARAMETER
55
56
57
58
59
60
61
62
63 IPADDRESS_EXPORT
template <fixed_string FixedString>
64 IPADDRESS_NODISCARD IPADDRESS_CONSTEVAL IPADDRESS_FORCE_INLINE ipv4_network operator
""_ipv4_net() IPADDRESS_NOEXCEPT {
65 return ipv4_network::parse<FixedString>();
71
72
73
74
75
76
77
78
79
81 return internal::parse_net_from_literal<ipv4_network_base,
char, ipv4_network::base_max_string_len * 2 + 1>(address, size);
85
86
87
88
89
90
91
92
93
95 return internal::parse_net_from_literal<ipv4_network_base,
wchar_t, ipv4_network::base_max_string_len * 2 + 1>(address, size);
99
100
101
102
103
104
105
106
107
109 return internal::parse_net_from_literal<ipv4_network_base,
char16_t, ipv4_network::base_max_string_len * 2 + 1>(address, size);
113
114
115
116
117
118
119
120
121
123 return internal::parse_net_from_literal<ipv4_network_base,
char32_t, ipv4_network::base_max_string_len * 2 + 1>(address, size);
Template base class for representing a network of IP addresses.
Definition ip-network-base.hpp:32
Base class for IPv4 network address manipulation.
Definition ipv4-network.hpp:28
#define IPADDRESS_NOEXCEPT_WHEN_NO_EXCEPTIONS
Definition config.hpp:93
#define IPADDRESS_EXPORT
Definition config.hpp:42
#define IPADDRESS_NODISCARD
Definition config.hpp:98
#define IPADDRESS_FORCE_INLINE
Definition config.hpp:112
#define IPADDRESS_NAMESPACE
Definition config.hpp:38
#define IPADDRESS_NOEXCEPT
Definition config.hpp:89
#define IPADDRESS_NODISCARD_WHEN_NO_EXCEPTIONS
Definition config.hpp:102