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 :
|
| template<std::ranges::range range_t> |
| auto | operator() (range_t &&source) const |
| | Converts a sequence of values to an array.
|
◆ 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_t | The type of the elements of source. |
- Parameters
-
| source | A sequence of values to convert to array. |
The documentation for this class was generated from the following file: