Horizon
Loading...
Searching...
No Matches
subrange.hpp File Reference
#include <tuple>
#include <type_traits>
#include <utility>
#include <meta/meta.hpp>
#include <concepts/concepts.hpp>
#include <range/v3/iterator/operations.hpp>
#include <range/v3/iterator/unreachable_sentinel.hpp>
#include <range/v3/range/access.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/range/dangling.hpp>
#include <range/v3/utility/get.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::subrange< I, S, K >
struct  ranges::make_subrange_fn
struct  std::tuple_size<::ranges::subrange< I, S, K > >
struct  std::tuple_element< 0, ::ranges::subrange< I, S, K > >
struct  std::tuple_element< 1, ::ranges::subrange< I, S, K > >

Namespaces

namespace  ranges::cpp20

Macros

#define ranges::RANGES_DEPRECATED(MSG)
#define ranges::cpp20::RANGES_DEPRECATED(MSG)

Enumerations

enum class  subrange_kind : bool { unsized , sized }
enum class  subrange_kind

Functions

template<typename I, typename S>
 ranges::subrange (I, S) -> subrange< I, S >
 ranges::template (typename I, typename S)(AND sentinel_for< S
 function template reverse
ranges::subrange (I, S, detail::iter_size_t< I >) -> subrange< I, S, subrange_kind::sized >
 ranges::template (typename R)() subrange(R &&) -> subrange< iterator_t< R >, sentinel_t< R >,(sized_range< R >||sized_sentinel_for< sentinel_t< R >, iterator_t< R > >) ? subrange_kind::sized :subrange_kind::unsized >
 ranges::template (typename R)() split_view(R &&
 ranges::cpp20::template (typename I, typename S=I, subrange_kind K=static_cast< subrange_kind >(detail::is_sized_sentinel_< S, I >()))(AND sentinel_for< S
ranges::cpp20::AND (K==subrange_kind::sized||!sized_sentinel_for< S, I >)) using subrange

Variables

template<typename I, typename S, subrange_kind K>
RANGES_INLINE_VAR constexpr bool ranges::enable_borrowed_range< subrange< I, S, K > > = true
detail::iter_size_t< iterator_t< R > > ranges::subrange< iterator_t< R >, sentinel_t< R >, subrange_kind::sized >