|
ipaddress 1.2.0
|
Provides a fixed-size vector class template. More...
#include "config.hpp"Go to the source code of this file.
Classes | |
| class | fixed_vector_iterator< T > |
| A fixed-size vector iterator class template. More... | |
| class | fixed_vector< T, N > |
| A fixed-size vector class template. More... | |
Namespaces | |
| namespace | ipaddress |
| Namespace dedicated to IP addresses and networks operations. | |
Functions | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator== (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares two fixed_vector objects for equality. | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator!= (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares two fixed_vector objects for inequality. | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator< (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares the contents of two fixed vector lexicographically. | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator> (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares the contents of two fixed vector lexicographically. | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator<= (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares the contents of two fixed vector lexicographically. | |
| template<typename T , size_t N1, size_t N2> | |
| constexpr inline bool | operator>= (const fixed_vector< T, N1 > &lhs, const fixed_vector< T, N2 > &rhs) noexcept |
| Compares the contents of two fixed vector lexicographically. | |
Provides a fixed-size vector class template.
The fixed_vector template class is a lightweight container that encapsulates a fixed-size array. It provides a subset of the functionality of std::vector, optimized for scenarios where the size of the container is known at compile-time. This class is designed to work in constexpr contexts, enabling compile-time operations on fixed-size arrays. It ensures efficient memory usage and avoids dynamic memory allocation.