std::ranges::stride view

GPTKB entity

Statements (23)
Predicate Object
gptkbp:instanceOf C++ class template
gptkbp:category view
range adaptor
gptkbp:compatibleWith range concept
view concept
gptkbp:definedIn <ranges> header
gptkbp:example stride_view v = std::views::stride(rng, n);
gptkbp:function begin()
end()
size()
base()
stride()
https://www.w3.org/2000/01/rdf-schema#label std::ranges::stride view
gptkbp:inheritsFrom std::ranges::view_interface
gptkbp:introducedIn gptkb:C++23
gptkbp:namespace std::ranges
gptkbp:parameter IsConst (for const-qualification)
V (the underlying view)
gptkbp:purpose provides a view that iterates every N-th element of a range
gptkbp:requires the underlying range must be a view
gptkbp:standardizedBy gptkb:ISO_C++
gptkbp:bfsParent gptkb:std::ranges::stride
gptkbp:bfsLayer 7