xtd 0.2.0
Loading...
Searching...
No Matches
xtd::ranges::views Namespace Reference

Definition

The view namesapce contains range views, lightweight objects that indirectly represent iterable sequences (ranges).

Classes

class  distinct_view
 The xtd::ranges::views::distinct_view class is used to distinct elements from a sequence. More...
class  order_by_descending_view
 The xtd::ranges::views::order_by_descending_view class is used to sort the elements of a sequence in descending order according to a key. More...
class  order_by_view
 The xtd::ranges::views::order_by_view class is used to sort the elements of a sequence in ascending order according to a key. More...
class  select_view
 The xtd::ranges::views::select_view class is used to select elements from a sequence. More...
class  to_array_view
 The xtd::ranges::views::to_array_view class is used to convert a sequence to an array. More...
class  to_list_view
 The xtd::ranges::views::to_list_view class is used to convert a sequence to a list. More...
class  where_view
 The xtd::ranges::views::where_view class is used to filter elements from a sequence. More...

Functions

template<class type_t>
auto range (type_t count)
 Generates a sequence of integral numbers within a specified range.
template<class type_t>
auto range (type_t start, type_t count)
 Generates a sequence of integral numbers within a specified range.
template<class type_t>
auto range (type_t start, type_t count, type_t step)
 Generates a sequence of integral numbers within a specified range and step.

Variables

constexpr auto distinct
 The xtd::ranges::views::distinct_view instance.
constexpr auto order_by
 The xtd::ranges::views::order_by instance.
constexpr auto order_by_descending
 The xtd::ranges::views::order_by_descending instance.
constexpr auto select
 The xtd::ranges::views::select instance.
constexpr auto to_array
 The xtd::ranges::views::to_array instance.
constexpr auto to_list
 The xtd::ranges::views::to_list instance.
constexpr auto where
 The xtd::ranges::views::where instance.