Horizon
Loading...
Searching...
No Matches
ranges::views Namespace Reference

Classes

struct  view_closure
struct  addressof_fn
struct  adjacent_filter_base_fn
struct  adjacent_filter_fn
struct  adjacent_remove_if_base_fn
struct  adjacent_remove_if_fn
struct  all_fn
struct  c_str_fn
 View a \0-terminated C string (e.g. More...
struct  cache1_fn
struct  cartesian_product_fn
struct  chunk_base_fn
struct  chunk_fn
struct  chunk_by_base_fn
struct  chunk_by_fn
struct  cpp20_common_fn
struct  common_fn
struct  concat_fn
struct  const_fn
struct  cpp20_counted_fn
struct  counted_fn
struct  cycle_fn
 Returns an infinite range that endlessly repeats the source range. More...
struct  delimit_base_fn
struct  delimit_fn
struct  drop_base_fn
struct  drop_fn
struct  drop_exactly_base_fn
struct  drop_exactly_fn
struct  drop_last_base_fn
struct  drop_last_fn
struct  drop_while_base_fn
struct  drop_while_bind_fn
struct  drop_while_fn
struct  enumerate_fn
 Lazily pairs each element in a source range with its corresponding index. More...
struct  exclusive_scan_base_fn
struct  exclusive_scan_fn
struct  cpp20_filter_base_fn
 Given a source range and a unary predicate, present a view of the elements that satisfy the predicate. More...
struct  cpp20_filter_fn
struct  filter_base_fn
 Given a source range, unary predicate, and optional projection, present a view of the elements that satisfy the predicate. More...
struct  filter_fn
struct  for_each_base_fn
 Lazily applies an unary function to each element in the source range that returns another range (possibly empty), flattening the result. More...
struct  for_each_fn
struct  generate_fn
struct  generate_n_fn
struct  group_by_base_fn
struct  group_by_fn
struct  indices_fn
 Half-open range of indices: [from, to). More...
struct  closed_indices_fn
 Inclusive range of indices: [from, to]. More...
struct  indirect_fn
struct  intersperse_base_fn
struct  intersperse_fn
struct  iota_fn
struct  closed_iota_fn
struct  ints_fn
struct  cpp20_join_fn
struct  join_base_fn
struct  join_bind_fn
struct  join_fn
struct  linear_distribute_view
struct  linear_distribute_fn
 Distributes n values linearly in the closed interval [from, to]. More...
struct  keys_fn
struct  values_fn
struct  move_fn
struct  partial_sum_base_fn
struct  partial_sum_fn
struct  ref_fn
struct  remove_base_fn
struct  remove_bind_fn
struct  remove_fn
struct  remove_if_base_fn
 Given a source range, unary predicate, and optional projection, present a view of the elements that do not satisfy the predicate. More...
struct  remove_if_bind_fn
struct  remove_if_fn
struct  repeat_fn
struct  repeat_n_fn
struct  replace_base_fn
struct  replace_fn
struct  replace_if_base_fn
struct  replace_if_fn
struct  reverse_fn
struct  sample_base_fn
 Returns a random sample of a range of length size(range). More...
struct  sample_fn
struct  set_difference_base_fn
struct  set_difference_fn
struct  set_intersection_base_fn
struct  set_intersection_fn
struct  set_union_base_fn
struct  set_union_fn
struct  set_symmetric_difference_base_fn
struct  set_symmetric_difference_fn
struct  single_fn
struct  slice_base_fn
struct  slice_fn
struct  sliding_base_fn
struct  sliding_fn
struct  split_base_fn
struct  split_fn
struct  split_when_base_fn
struct  split_when_fn
struct  stride_base_fn
struct  stride_fn
struct  tail_fn
struct  take_base_fn
struct  take_fn
struct  take_exactly_base_fn
struct  take_exactly_fn
struct  take_last_base_fn
struct  take_last_fn
struct  iter_take_while_base_fn
struct  iter_take_while_fn
struct  take_while_base_fn
struct  take_while_bind_fn
struct  take_while_fn
struct  tokenize_base_fn
struct  tokenize_fn
struct  iter_transform_base_fn
struct  iter_transform_fn
struct  transform_base_fn
struct  transform_fn
struct  trim_base_fn
struct  trim_bind_fn
struct  trim_fn
struct  unbounded_fn
struct  unique_base_fn
struct  unique_fn
struct  zip_fn
struct  iter_zip_with_fn
struct  zip_with_fn

Concepts

concept  transformable_range_
 The transformable_range_ concept.
concept  transformable_range
 The transformable_range concept.
concept  transformable_ranges_
 The transformable_ranges_ concept.
concept  transformable_ranges
 The transformable_ranges concept.
concept  zippable_with_
 The zippable_with_ concept.
concept  zippable_with
 The zippable_with concept.

Functions

 template (typename Rng, typename Fun)(concept(transformable_range_)(Rng
regular_invocable< Fun &, range_reference_t< Rng > > AND (!std::is_void< indirect_result_t< Fun &, iterator_t< Rng > > >::value))
 template (typename Rng1, typename Rng2, typename Fun)(concept(transformable_ranges_)(Rng1
regular_invocable< Fun &, range_reference_t< Rng1 >, range_reference_t< Rng2 > > AND (!std::is_void< indirect_result_t< Fun &, iterator_t< Rng1 >, iterator_t< Rng2 > > >::value))
 template (typename Fun, typename... Rngs)(concept(zippable_with_)(Fun

Variables

template<typename T>
RANGES_INLINE_VAR constexpr empty_view< T > empty {}
 Fun
template<typename Rng, typename Fun>
CPP_concept transformable_range
 Rng2
template<typename Rng1, typename Rng2, typename Fun>
CPP_concept transformable_ranges
 Rngs
invocable< Fun &, iterator_t< Rngs >... > AND invocable< Fun &, copy_tag, iterator_t< Rngs >... > AND invocable< Fun &, move_tag, iterator_t< Rngs >... >
template<typename Fun, typename ... Rngs>
CPP_concept zippable_with

Detailed Description

Variable Documentation

◆ transformable_range

template<typename Rng, typename Fun>
CPP_concept ranges::views::transformable_range
Initial value:
=
copy_constructible<Fun> &&
CPP_concept_ref(views::transformable_range_, Rng, Fun)
The input_range concept.
The viewable_range concept.
The transformable_range_ concept.

◆ transformable_ranges

template<typename Rng1, typename Rng2, typename Fun>
CPP_concept ranges::views::transformable_ranges
Initial value:
=
copy_constructible<Fun> &&
CPP_concept_ref(views::transformable_ranges_, Rng1, Rng2, Fun)
The transformable_ranges_ concept.

◆ zippable_with

template<typename Fun, typename ... Rngs>
CPP_concept ranges::views::zippable_with
Initial value:
=
and_v<input_range<Rngs>...> &&
copy_constructible<Fun> &&
CPP_concept_ref(views::zippable_with_, Fun, Rngs...)
The zippable_with_ concept.