A view of part of a range. More...
Public Member Functions | |
| constexpr | substring_view (R r, difference_type i, difference_type n) |
| Select a substring of a range. | |
A view of part of a range.
Analogous to a combination of std::take_view and std::drop_view from C++20.
This class is supported for GPU execution.
|
constexpr |
Select a substring of a range.
| r | input (stored in this object) |
| i | starting index |
| n | number of elements (must be in bounds) |