xtd 0.2.0
Loading...
Searching...
No Matches
xtd::ranges::views::to_array_view Class Reference

Definition

The xtd::ranges::views::to_array_view class is used to convert a sequence to an array.

Definition
The xtd::ranges::views::to_array_view class is used to convert a sequence to an array.
Definition to_array_view.hpp:44
Header
#include <xtd/ranges/views/to_array_view>
Namespace
xtd::ranges::views
Library
xtd.core
Examples
The following example shows how to use xtd::ranges::views::to_array instance :
The following example shows how to use xtd::ranges::views::to_array_view class :

Public Operators

template<std::ranges::range range_t>
auto operator() (range_t &&source) const
 Converts a sequence of values to an array.

Member Function Documentation

◆ operator()()

template<std::ranges::range range_t>
auto xtd::ranges::views::to_array_view::operator() ( range_t && source) const
inline

Converts a sequence of values to an array.

Template Parameters
range_tThe type of the elements of source.
Parameters
sourceA sequence of values to convert to array.

The documentation for this class was generated from the following file: