sparrow 0.9.0
Loading...
Searching...
No Matches
sequence_view.hpp File Reference
#include <algorithm>
#include <ranges>
#include <span>
#include <vector>
#include "sparrow/utils/mp_utils.hpp"
Include dependency graph for sequence_view.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sparrow::sequence_view< T, Extent >
 The class sequence_view describes an object that can refer to a constant contiguous sequence of T with the first element of the sequence at position zero. More...
 
struct  std::tuple_size< sparrow::sequence_view< T, E > >
 

Namespaces

namespace  sparrow
 
namespace  std
 
namespace  std::ranges
 

Concepts

concept  sparrow::fixed_size_sequence_view
 

Functions

template<class T, std::size_t E>
constexpr bool sparrow::operator== (const sequence_view< T, E > &lhs, const sequence_view< T, E > &rhs)
 
template<class T, std::size_t E, std::ranges::input_range R>
requires mpl::weakly_equality_comparable_with<T, std::ranges::range_value_t<R>>
constexpr bool sparrow::operator== (const sequence_view< T, E > &lhs, const R &rhs)
 
template<class T, std::size_t E>
constexpr std::compare_three_way_result< T > sparrow::operator<=> (const sequence_view< T, E > &lhs, const sequence_view< T, E > &rhs)
 
template<class T, std::size_t E, std::ranges::input_range R>
constexpr std::compare_three_way_result< T, std::ranges::range_value_t< R > > sparrow::operator<=> (const sequence_view< T, E > &lhs, const R &rhs)
 

Variables

template<class T, std::size_t E>
constexpr bool std::ranges::enable_borrowed_range< sparrow::sequence_view< T, E > > = true
 
template<class T, std::size_t E>
constexpr bool std::ranges::enable_view< sparrow::sequence_view< T, E > > = true