Horizon
Loading...
Searching...
No Matches
span.hpp File Reference
#include <cstddef>
#include <meta/meta.hpp>
#include <range/v3/range_fwd.hpp>
#include <range/v3/algorithm/equal.hpp>
#include <range/v3/algorithm/lexicographical_compare.hpp>
#include <range/v3/iterator/reverse_iterator.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/primitives.hpp>
#include <range/v3/range/traits.hpp>
#include <range/v3/view/interface.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Classes

struct  ranges::span< T, N >

Functions

 ranges::template (typename Rng)() span(Rng &&rng) -> span< detail::element_t< Rng >,(range_cardinality< Rng >::value< cardinality() ? dynamic_extent :static_cast< detail::span_index_t >(range_cardinality< Rng >::value))>
template<typename T, detail::span_index_t N>
span< unsigned char const, detail::byte_size< T >(N)> ranges::as_bytes (span< T, N > s) noexcept
template<typename T, detail::span_index_t N>
span< unsigned char, detail::byte_size< T >(N)> ranges::as_writeable_bytes (span< T, N > s) noexcept
template<typename ElementType>
constexpr span< ElementType > ranges::make_span (ElementType *ptr, detail::span_index_t cnt) noexcept
template<typename ElementType>
constexpr span< ElementType > ranges::make_span (ElementType *first, ElementType *last) noexcept
 ranges::template (typename Rng)(AND(range_cardinality< Rng >

Variables

constexpr detail::span_index_t ranges::dynamic_extent = -1
template<typename T, detail::span_index_t N>
RANGES_INLINE_VAR constexpr bool ranges::enable_borrowed_range< span< T, N > > = true
template<typename T, detail::span_index_t N>
constexpr detail::span_index_t ranges::span< T, N >::extent