The xtd::ranges::views::to_array_view class is used to convert a sequence to an array.
Public Operators | |
| template<std::ranges::range range_t> | |
| auto | operator() (range_t &&source) const |
| Converts a sequence of values to an array. | |
|
inline |
Converts a sequence of values to an array.
| range_t | The type of the elements of source. |
| source | A sequence of values to convert to array. |