|
using | value_type = T |
| The type of network value.
|
|
using | size_type = size_t |
| An unsigned integral type.
|
|
using | difference_type = typename value_type::uint_type |
| Unsigned integer type for differences.
|
|
using | pointer = value_type* |
| Pointer to the network type.
|
|
using | const_pointer = const value_type* |
| Const pointer to the network type.
|
|
using | reference = value_type& |
| Reference to the network type.
|
|
using | const_reference = const value_type& |
| Const reference to the network type.
|
|
using | iterator = ip_exclude_network_iterator<value_type> |
| Iterator for excluded network traversal.
|
|
using | const_iterator = ip_exclude_network_iterator<value_type> |
| Const iterator for excluded network traversal.
|
|
|
constexpr inline | exclude_network_sequence () noexcept=default |
| Default constructor.
|
|
constexpr inline | exclude_network_sequence (const_reference network, const_reference other) noexcept |
| Constructs a sequence for a network, excluding addresses from another network.
|
|
constexpr inline const_iterator | begin () const noexcept |
| Gets the beginning iterator of the sequence.
|
|
constexpr inline const_iterator | end () const noexcept |
| Gets the end iterator of the sequence.
|
|
constexpr inline const_iterator | cbegin () const noexcept |
| Gets the beginning const iterator of the sequence.
|
|
constexpr inline const_iterator | cend () const noexcept |
| Gets the end const iterator of the sequence.
|
|
constexpr inline bool | empty () const noexcept |
| Checks if the sequence is empty.
|
|
template<typename T>
class ipaddress::exclude_network_sequence< T >
A sequence container for networks excluding specified subnets.
This class template represents a sequence of network ranges while excluding certain subnets. It provides iterators to traverse the network ranges that are not part of the excluded subnets, allowing for operations that require consideration of only certain parts of a network.
- Template Parameters
-
T | The type of IP network from which subnets are to be excluded. |