join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
view.hpp File Reference
#include <type_traits>
#include <string_view>
#include <algorithm>
#include <concepts>
#include <compare>
#include <limits>
#include <cassert>
#include <cstdint>
#include <cstddef>
Include dependency graph for view.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  join
 

Functions

template<typename Type >
class join::__attribute__ ((packed)) View
 non-owning contiguous sequence of elements.
 
template<typename Type >
constexpr bool join::operator== (const View< Type > &lhs, const View< Type > &rhs)
 compare views.
 
template<typename Type >
constexpr std::partial_ordering join::operator<=> (const View< Type > &lhs, const View< Type > &rhs)
 three-way compare views.
 
template<typename Type >
requires std::same_as<std::remove_const_t<Type>, char>
constexpr bool join::operator== (const View< Type > &lhs, const View< Type > &rhs)
 compare character views.
 
template<typename Type >
requires std::same_as<std::remove_const_t<Type>, char>
constexpr std::partial_ordering join::operator<=> (const View< Type > &lhs, const View< Type > &rhs)
 three-way compare character views.