Return the element at a specific position in a range.
This is roughly equivalent to first (drop (range, position)), and is only available if that is available.
The range within which the element is sought.
The position of the desired element.
(optional) The direction of traversal.
Return the element at a specific index in a range.
The first template parameter (the index) must be given explicitly. This is roughly equivalent to at (range, rime::size_t<Index>()).
The position of the desired element.
The range within which the element is sought.
(optional) The direction of traversal.
Return the element at the ... position in a range. This is equivalent to first (drop (direction, view_once (range))). It is also available for ranges that implement drop only with an increment of one.
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<2> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<3> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<4> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<5> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<6> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<7> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<8> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Return the element at the ... position in a range. This is equivalent to at_c<9> (...).
(optional) The direction from which to count.
The range from which the element is taken.
Computes the number of elements in a range.
If the range has a size() operation, that is used. If not, then the drop() operation is used until the range is empty, and the number of steps is counted.
The range to count the number of elements of.
The direction to traverse the range in.